#include <MyApp.h>
Inheritance diagram for MyApp:
Public Member Functions | |
MyApp (HINSTANCE, HINSTANCE, Database &) | |
~MyApp () | |
Database & | GetDatabase () |
int | Init (LPSTR lpCmdLine, int nCmdShow) |
void | SetDialogData () |
void | GetDialogData () |
void | ShowTaskBar (BOOL show) |
void | SetQuit (bool x=true) |
int | GetLocalPort () |
bool | BindLocal () |
void | check_thread_status () |
void | view_thread_status (FinderSocket &) |
void | settings_form (FinderSocket &) |
void | reg_minder (FinderHandler &, const std::string &cmd) |
void | minion_connect (FinderHandler &h) |
int | GetMinionPort () |
void | ApplyChanges () |
bool | NoMinder () |
bool | CreateTop () |
void | SetCreateTop (bool x=true) |
void | SetValues (int local_port, bool bind_local, const std::string &minder_host, int minder_port, bool no_minder, bool create_top, const std::string &join_group, bool use_password, const std::string &group_password) |
void | SetDrop (bool x=true) |
BOOL | ShowBalloonTip (const std::string &title, const std::string &msg) |
void | ChangeIcon (int id) |
int | MemoryUsage () |
Private Attributes | |
Database & | m_db |
bool | m_quit |
int | m_local_port |
bool | m_bind_local |
std::string | m_minder_host |
int | m_minder_port |
int | m_minion_port |
bool | m_no_minder |
std::string | m_new_minder_host |
int | m_new_minder_port |
bool | m_new_no_minder |
bool | m_create_top |
std::string | m_join_group |
bool | m_use_password |
std::string | m_group_password |
std::string | m_new_join_group |
bool | m_new_use_password |
std::string | m_new_group_password |
|
Definition at line 84 of file MyApp.cpp. References g_app, and MyApp(). Referenced by MyApp().
|
|
Definition at line 106 of file MyApp.cpp.
|
|
Definition at line 292 of file MyApp.cpp. References g_hwndMain, IDI_GREY, IDR_MAIN, m_group_password, m_join_group, m_minder_host, m_minder_port, m_new_group_password, m_new_join_group, m_new_minder_host, m_new_minder_port, m_new_no_minder, m_new_use_password, m_no_minder, m_use_password, and WM_CHANGE_ICON. Referenced by start().
|
|
Definition at line 59 of file MyApp.h. References m_bind_local. Referenced by start().
|
|
Definition at line 557 of file MyApp.cpp. References ChangeIcon(), g_hwndMain, WinApp::GetInstance(), and IDR_MAIN. Referenced by ChangeIcon(), and MyDlgProc().
|
|
|
|
Definition at line 71 of file MyApp.h. References m_create_top. Referenced by start().
|
|
Definition at line 49 of file MyApp.h. References m_db.
|
|
Definition at line 339 of file MyApp.cpp. References g_bRestart, g_hwndMain, IDED_GROUP_PASSWORD, IDED_JOIN_GROUP, IDED_LOCAL_PORT, IDED_MINDER_HOST, IDED_MINDER_PORT, IDRB_BIND_LOCAL, IDRB_CREATE_TOP, IDRB_NO_MINDER, m_bind_local, m_create_top, m_group_password, m_join_group, m_local_port, m_minder_host, m_minder_port, m_new_group_password, m_new_join_group, m_new_minder_host, m_new_minder_port, m_new_no_minder, and m_no_minder. Referenced by MyDlgProc().
|
|
Definition at line 58 of file MyApp.h. References m_local_port. Referenced by MyDlgProc(), and start().
|
|
Definition at line 67 of file MyApp.h. References m_minion_port. Referenced by start().
|
|
Implements WinApp. Definition at line 411 of file MyApp.cpp. References D2, g_bQuit, g_bWsRunning, g_hD2, g_hMutex, g_hMutexScan, g_hwndMain, WinApp::GetInstance(), IDD_SETTINGS, IDR_MAIN, Init(), m_quit, MyDlgProc(), ShowTaskBar(), and start(). Referenced by Init(), minion_connect(), reg_minder(), and WinMain().
|
|
Definition at line 495 of file MyApp.cpp.
|
|
Definition at line 600 of file MyApp.cpp. References Init(), and minion_connect(). Referenced by minion_connect(), and start().
|
|
Definition at line 69 of file MyApp.h. References m_no_minder. Referenced by start().
|
|
Definition at line 571 of file MyApp.cpp. References g_hwndMain, IDI_RED, IDI_YELLOW, Init(), m_group_password, m_join_group, m_minder_host, m_minder_port, m_use_password, reg_minder(), and WM_CHANGE_ICON. Referenced by reg_minder(), and start().
|
|
Definition at line 72 of file MyApp.h. References m_create_top, and SetCreateTop(). Referenced by SetCreateTop(), and start().
|
|
Definition at line 312 of file MyApp.cpp. References g_hwndMain, IDED_GROUP_PASSWORD, IDED_JOIN_GROUP, IDED_LOCAL_PORT, IDED_MINDER_HOST, IDED_MINDER_PORT, IDED_MINION_PORT, IDRB_BIND_LOCAL, IDRB_NO_MINDER, m_bind_local, m_group_password, m_join_group, m_local_port, m_minder_host, m_minder_port, m_minion_port, and m_no_minder. Referenced by MyMenu::OnCommand().
|
|
|
|
Definition at line 57 of file MyApp.h. References m_quit, and SetQuit(). Referenced by MyDlgProc(), and SetQuit().
|
|
|
|
|
|
Definition at line 534 of file MyApp.cpp. References g_hwndMain, IDR_MAIN, and ShowBalloonTip(). Referenced by MyMinionSocket::OnAccept(), MyMinionSocket::OnConnect(), MyMinionSocket::OnVerifiedLine(), and ShowBalloonTip().
|
|
Definition at line 382 of file MyApp.cpp. References g_hwndMain, WinApp::GetInstance(), IDR_MAIN, ShowTaskBar(), and WM_SHELLNOTIFY. Referenced by Init(), and ShowTaskBar().
|
|
|
|
Definition at line 90 of file MyApp.h. Referenced by BindLocal(), GetDialogData(), and SetDialogData(). |
|
Definition at line 98 of file MyApp.h. Referenced by CreateTop(), GetDialogData(), and SetCreateTop(). |
|
Definition at line 86 of file MyApp.h. Referenced by GetDatabase(). |
|
Definition at line 101 of file MyApp.h. Referenced by ApplyChanges(), GetDialogData(), reg_minder(), and SetDialogData(). |
|
Definition at line 99 of file MyApp.h. Referenced by ApplyChanges(), GetDialogData(), reg_minder(), and SetDialogData(). |
|
Definition at line 89 of file MyApp.h. Referenced by GetDialogData(), GetLocalPort(), and SetDialogData(). |
|
Definition at line 91 of file MyApp.h. Referenced by ApplyChanges(), GetDialogData(), reg_minder(), and SetDialogData(). |
|
Definition at line 92 of file MyApp.h. Referenced by ApplyChanges(), GetDialogData(), reg_minder(), and SetDialogData(). |
|
Definition at line 93 of file MyApp.h. Referenced by GetMinionPort(), and SetDialogData(). |
|
Definition at line 104 of file MyApp.h. Referenced by ApplyChanges(), and GetDialogData(). |
|
Definition at line 102 of file MyApp.h. Referenced by ApplyChanges(), and GetDialogData(). |
|
Definition at line 95 of file MyApp.h. Referenced by ApplyChanges(), and GetDialogData(). |
|
Definition at line 96 of file MyApp.h. Referenced by ApplyChanges(), and GetDialogData(). |
|
Definition at line 97 of file MyApp.h. Referenced by ApplyChanges(), and GetDialogData(). |
|
Definition at line 103 of file MyApp.h. Referenced by ApplyChanges(). |
|
Definition at line 94 of file MyApp.h. Referenced by ApplyChanges(), GetDialogData(), NoMinder(), and SetDialogData(). |
|
|
|
Definition at line 100 of file MyApp.h. Referenced by ApplyChanges(), and reg_minder(). |