00001 #ifndef TEST_RPC_SERVER_CLASS 00002 #define TEST_RPC_SERVER_CLASS 00003 00004 /*****************************************************************************\ 00005 * * 00006 * Name : test rpc server * 00007 * Author : Chris Koeritz * 00008 * * 00009 ******************************************************************************* 00010 * Copyright (c) 1995-$now By Author. This program is free software; you can * 00011 * redistribute it and/or modify it under the terms of the GNU General Public * 00012 * License as published by the Free Software Foundation; either version 2 of * 00013 * the License or (at your option) any later version. This is online at: * 00014 * http://www.fsf.org/copyleft/gpl.html * 00015 * Please send any updates to: fred@gruntose.com * 00016 \*****************************************************************************/ 00017 00018 #include "server_side.h" 00019 00020 // forward. 00021 class debugging_frame; 00022 00023 class test_rpc_server : public CFrameWnd 00024 { 00025 public: 00026 test_rpc_server(); 00027 virtual ~test_rpc_server(); 00028 00029 IMPLEMENT_CLASS_NAME("test_rpc_server"); 00030 00031 // rpc test stuff. 00032 void open_rpc(); 00033 void close_rpc(); 00034 00035 void exit_program(); 00036 00037 private: 00038 CMenu the_menu; 00039 00040 // mfc mechanisms: 00041 DECLARE_MESSAGE_MAP() 00042 afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); 00043 afx_msg void OnClose(); 00044 00045 private: 00046 example_rpc_server *my_server; // the active rpc servicing occurs here. 00047 #ifdef DEBUG_RPC 00048 debugging_frame *console; // used to show debug information. 00049 #endif 00050 }; 00051 00052 #endif 00053
1.5.1