|
|
1.1 root 1: //
2: // nono
3: // Copyright (C) 2021 nono project
4: // Licensed under nono-license.txt
5: //
6:
1.1.1.2 root 7: //
8: // UI スレッドへのメッセージ機構 (CLI 側)
9: //
10:
1.1 root 11: #pragma once
12:
1.1.1.2 root 13: #include "autofd.h"
1.1.1.3 ! root 14: #include "uimessage.h"
1.1 root 15:
16: class CUIMessage
17: {
18: public:
1.1.1.2 root 19: // CUIMessage を初期化する
20: static int Init();
21:
1.1.1.3 ! root 22: // UIMessage のコールバック。(呼び出し元スレッドで実行される)
! 23: static void Process(uint id, int arg);
1.1.1.2 root 24:
1.1 root 25: private:
1.1.1.2 root 26: static autofd wpipe;
27: static autofd rpipe;
1.1 root 28: };
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.