📄 message.h
字号:
//-------------------------------------------------------------------
// Author........: Aleksander 豩rn
// Date..........: 960307
// Description...:
// Revisions.....:
//===================================================================
#ifndef __MESSAGE_H__
#define __MESSAGE_H__
#include <copyright.h>
#include <kernel/basic/string.h>
//-------------------------------------------------------------------
// Class.........: Message
// Author........: Aleksander 豩rn
// Date..........:
// Description...: Simple class that relays progress messages to the
// user.
//
// Intended use, example:
//
// // Declare a local message object.
// Message message;
//
// // The Notify method is used for general progress messages.
// message.Notify("A long operation is about to be executed...");
//
// // A long operation might, e.g., take place in a loop.
// for (int i = 0; i < 1000; i++) {
//
// // The Progress method is used to provide a cancellation facility.
// if (!message.Progress("Executing...", i, 1000))
// break;
//
// }
//
// // For warnings and errors the static methods may be used.
// Message::Warning("This is a warning message.");
// Message::Warning("This is a less important warning message.", false);
//
// Comments......:
// Revisions.....: A
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -