00001 #ifndef TEST_RPC_CLIENT_CLASS
00002 #define TEST_RPC_CLIENT_CLASS
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #include "client_side.h"
00019
00020
00021 class debugging_frame;
00022
00023 class test_rpc_client : public CFrameWnd
00024 {
00025 public:
00026 test_rpc_client();
00027 virtual ~test_rpc_client();
00028
00029 istring name() const { return "test_rpc_client"; }
00030
00031 void start_timer(int interval);
00032
00033 void stop_timer();
00034
00035
00036 private:
00037 example_rpc_client *my_client;
00038 CMenu the_menu;
00039 #ifdef DEBUG_RPC
00040 debugging_frame *console;
00041 #endif
00042 chaos *rando;
00043
00044 LRESULT handle_update(WPARAM wp, LPARAM lp);
00045
00046
00047
00048
00049
00050 void menu_open_rpc();
00051 void menu_close_rpc();
00052 void menu_exit_program();
00053
00054
00055 void menu_start_random();
00056 void menu_stop_random();
00057
00058
00059 DECLARE_MESSAGE_MAP()
00060 afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
00061 afx_msg void OnClose();
00062 afx_msg void OnTimer(u_int timer_id);
00063 };
00064
00065 #endif
00066