logi.h

来自「用ICE+MFC开发的一个示例程序.以向用户演示ICE的初步应用.」· C头文件 代码 · 共 38 行

H
38
字号
// **********************************************************************//// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved.//// This copy of Ice is licensed to you under the terms described in the// ICE_LICENSE file included in this distribution.//// **********************************************************************#ifndef LOG_I_H#define LOG_I_Hclass LogI : public Ice::Logger{public:    LogI();    virtual void print(const std::string&);    virtual void trace(const std::string&, const std::string&);    virtual void warning(const std::string&);    virtual void error(const std::string&);    void message(const std::string&);    void setHandle(HWND);private:    void post(const std::string&);    std::string _buffer;    HWND _hwnd;};typedef IceUtil::Handle<LogI> LogIPtr;#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?