Changeset 3649 for trunk/auto-reply
- Timestamp:
- 01/27/04 02:47:49 (5 years ago)
- Location:
- trunk/auto-reply
- Files:
-
- 3 modified
-
licq_autoreply.conf (modified) (1 diff)
-
src/autoreply.cpp (modified) (3 diffs)
-
src/autoreply.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/auto-reply/licq_autoreply.conf
r2211 r3649 34 34 AbortDeleteOnExitCode = 1 35 35 36 # Set SendThroughServer = 1 if auto-reply should always send 37 # messages through the server and never try to use 38 # a direct connection. 39 # 0 = Try to send direct 40 # 1 = Send through server 41 SendThroughServer = 1 36 42 37 43 # Here is a simple example which will bounce the event -
trunk/auto-reply/src/autoreply.cpp
r3552 r3649 85 85 conf.ReadBool("FailOnExitCode", m_bFailOnExitCode, false); 86 86 conf.ReadBool("AbortDeleteOnExitCode", m_bAbortDeleteOnExitCode, false); 87 conf.ReadBool("SendThroughServer", m_bSendThroughServer, true); 87 88 conf.CloseFile(); 88 89 … … 214 215 { 215 216 user_event = e->UserEvent(); 216 licqDaemon->icqSendMessage(e->Uin(), user_event->Text(), false,217 licqDaemon->icqSendMessage(e->Uin(), user_event->Text(), !m_bSendThroughServer, 217 218 ICQ_TCPxMSG_URGENT); //urgent, because, hey, he asked us, right? 218 219 } … … 298 299 char *szText = new char[4096 + 256]; 299 300 sprintf(szText, "%s", m_szMessage); 300 unsigned long tag = licqDaemon->icqSendMessage(nUin, szText, true,301 unsigned long tag = licqDaemon->icqSendMessage(nUin, szText, !m_bSendThroughServer, 301 302 ICQ_TCPxMSG_URGENT); 302 303 delete []szText; -
trunk/auto-reply/src/autoreply.h
r2211 r3649 27 27 char *m_szStatus; 28 28 char m_szProgram[512], m_szArguments[512]; 29 bool m_bPassMessage, m_bFailOnExitCode, m_bAbortDeleteOnExitCode; 29 bool m_bPassMessage, m_bFailOnExitCode, m_bAbortDeleteOnExitCode, 30 m_bSendThroughServer; 30 31 31 32 CICQDaemon *licqDaemon;
