xj qian
2024-06-25 58c129e8f21f79396a822eaeadd78edf281b52a0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#pragma once
 
#include "kcontrol.hpp"
#include "kcachemgr.hpp"
namespace Hxsoft{namespace XFrame{
    class xfApp : public xbObject
    {
    public:
        int OnIdle(int nLevel);
        int Idle(DWORD dwTime);
    public:
        int InitApp();
        int ExitApp();
    public:
        int AddhWnd(HWND hWnd);
        int RemovehWnd(HWND hWnd);
    public:
        int XFrameStartUp(HINSTANCE hInstance,DWORD dwIcon,DWORD dwIconSm);
        int XFrameShutDown(HINSTANCE hInstance);
        HINSTANCE GetInstance();
    public:
        static xfApp * GetApp();
    public:
        const wchar_t* GetServerUrl();
    public:
        void InitObjectMgr();
    public:
        xfCacheMgr* GetCacheMgr();
    public:
        static int trace(LPCTSTR pstr);
    public:
        int Run();
    };
}}