summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2013-10-12 18:02:05 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2013-10-12 18:02:05 +0000
commit6773fe45457b8ef6e87efa0b5aecc0899877b247 (patch)
tree7908ff2f6eda5c31b184015c7dc5a394686232a5 /protocols
parent75815d4ab9a4b54cea03a97277f4d0892f2bdb6b (diff)
Use protocol Logging API in Omegle
git-svn-id: http://svn.miranda-ng.org/main/trunk@6458 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/Omegle/omegle_10.vcxproj1
-rw-r--r--protocols/Omegle/omegle_10.vcxproj.filters3
-rw-r--r--protocols/Omegle/res/omegle.rc67
-rw-r--r--protocols/Omegle/src/chat.cpp2
-rw-r--r--protocols/Omegle/src/common.h3
-rw-r--r--protocols/Omegle/src/communication.cpp26
-rw-r--r--protocols/Omegle/src/connection.cpp20
-rw-r--r--protocols/Omegle/src/db.h1
-rw-r--r--protocols/Omegle/src/dialogs.cpp3
-rw-r--r--protocols/Omegle/src/events.cpp39
-rw-r--r--protocols/Omegle/src/proto.h3
-rw-r--r--protocols/Omegle/src/resource.h3
12 files changed, 59 insertions, 112 deletions
diff --git a/protocols/Omegle/omegle_10.vcxproj b/protocols/Omegle/omegle_10.vcxproj
index 0da09b2432..50db205574 100644
--- a/protocols/Omegle/omegle_10.vcxproj
+++ b/protocols/Omegle/omegle_10.vcxproj
@@ -178,7 +178,6 @@
<ClCompile Include="src\communication.cpp" />
<ClCompile Include="src\connection.cpp" />
<ClCompile Include="src\dialogs.cpp" />
- <ClCompile Include="src\events.cpp" />
<ClCompile Include="src\http.cpp" />
<ClCompile Include="src\stdafx.cpp">
<PrecompiledHeader>Create</PrecompiledHeader>
diff --git a/protocols/Omegle/omegle_10.vcxproj.filters b/protocols/Omegle/omegle_10.vcxproj.filters
index b28798a212..55ba1610e8 100644
--- a/protocols/Omegle/omegle_10.vcxproj.filters
+++ b/protocols/Omegle/omegle_10.vcxproj.filters
@@ -24,9 +24,6 @@
<ClCompile Include="src\connection.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="src\events.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
<ClCompile Include="src\http.cpp">
<Filter>Source Files</Filter>
</ClCompile>
diff --git a/protocols/Omegle/res/omegle.rc b/protocols/Omegle/res/omegle.rc
index d1226cf03d..bdc06acab7 100644
--- a/protocols/Omegle/res/omegle.rc
+++ b/protocols/Omegle/res/omegle.rc
@@ -53,45 +53,42 @@ END
// remains consistent on all systems.
IDI_OMEGLE ICON "omegle.ico"
-
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
-IDD_OPTIONS DIALOGEX 0, 0, 316, 248
+IDD_OPTIONS DIALOGEX 0, 0, 316, 235
STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
- LTEXT "Server:",IDC_STATIC,24,9,56,8,0,WS_EX_RIGHT
- COMBOBOX IDC_SERVER,84,7,74,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
- LTEXT "Language:",IDC_STATIC,162,9,56,8,0,WS_EX_RIGHT
- COMBOBOX IDC_LANGUAGE,222,7,74,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
- LTEXT "Visible name:",IDC_STATIC,24,25,56,8,0,WS_EX_RIGHT
- EDITTEXT IDC_NAME,84,22,74,14,ES_AUTOHSCROLL
+ LTEXT "Server:",IDC_STATIC,14,9,64,8,0,WS_EX_RIGHT
+ COMBOBOX IDC_SERVER,84,7,79,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
+ LTEXT "Language:",IDC_STATIC,172,9,50,8,0,WS_EX_RIGHT
+ COMBOBOX IDC_LANGUAGE,228,7,74,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
+ LTEXT "Visible name:",IDC_STATIC,14,25,64,8,0,WS_EX_RIGHT
+ EDITTEXT IDC_NAME,84,22,79,14,ES_AUTOHSCROLL
CONTROL "Meet strangers with common interests (separated by commas):",IDC_MEET_COMMON,
- "Button",BS_AUTOCHECKBOX | WS_TABSTOP,24,39,272,10
- EDITTEXT IDC_INTERESTS,24,49,272,20,ES_MULTILINE | ES_AUTOVSCROLL | WS_VSCROLL
+ "Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,39,288,10
+ EDITTEXT IDC_INTERESTS,14,49,288,20,ES_MULTILINE | ES_AUTOVSCROLL | WS_VSCROLL
CONTROL "Automatically send this message to stranger after connection:",IDC_HI_ENABLED,
- "Button",BS_AUTOCHECKBOX | WS_TABSTOP,24,72,272,10
- EDITTEXT IDC_HI_MESSAGE,24,82,272,20,ES_MULTILINE | ES_AUTOVSCROLL | WS_VSCROLL
- LTEXT "This text will be sent when you use ""/asl"" message:",IDC_STATIC,24,105,272,8
- EDITTEXT IDC_ASL_MESSAGE,24,114,272,20,ES_MULTILINE | ES_AUTOVSCROLL | WS_VSCROLL
- LTEXT "Last used question (Question mode):",IDC_STATIC,24,136,272,8
- EDITTEXT IDC_LAST_QUESTION,24,145,272,20,ES_MULTILINE | ES_AUTOVSCROLL | ES_READONLY | WS_VSCROLL
+ "Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,72,288,10
+ EDITTEXT IDC_HI_MESSAGE,14,82,288,20,ES_MULTILINE | ES_AUTOVSCROLL | WS_VSCROLL
+ LTEXT "This text will be sent when you use ""/asl"" message:",IDC_STATIC,14,105,288,8
+ EDITTEXT IDC_ASL_MESSAGE,14,114,288,20,ES_MULTILINE | ES_AUTOVSCROLL | WS_VSCROLL
+ LTEXT "Last used question (Question mode):",IDC_STATIC,14,136,288,8
+ EDITTEXT IDC_LAST_QUESTION,14,145,288,20,ES_MULTILINE | ES_AUTOVSCROLL | ES_READONLY | WS_VSCROLL
CONTROL "I want Omegle to reuse my questions if they are good enough (Question mode)",IDC_REUSE_QUESTIONS,
- "Button",BS_AUTOCHECKBOX | WS_TABSTOP,24,167,272,10
+ "Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,167,288,10
CONTROL "Automatically connect to stranger when protocol is turned online",IDC_AUTO_CONNECT,
- "Button",BS_AUTOCHECKBOX | WS_TABSTOP,24,180,272,10
+ "Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,180,288,10
CONTROL "Automatically connect to another stranger when current disconnects",IDC_DONTSTOP,
- "Button",BS_AUTOCHECKBOX | WS_TABSTOP,24,192,272,10
+ "Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,192,288,10
CONTROL "Don't clear chat before connecting to new stranger",IDC_NOCLEAR,
- "Button",BS_AUTOCHECKBOX | WS_TABSTOP,24,204,272,10
+ "Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,204,288,10
CONTROL "Load count of users on actual server after connection",IDC_SERVER_INFO,
- "Button",BS_AUTOCHECKBOX | WS_TABSTOP,24,216,272,10
- CONTROL "Enable logging for debugging purposes",IDC_LOGGING,
- "Button",BS_AUTOCHECKBOX | WS_TABSTOP,24,228,272,10
+ "Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,216,288,10
END
IDD_OmegleACCOUNT DIALOGEX 0, 0, 186, 134
@@ -120,22 +117,25 @@ END
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO
BEGIN
- IDD_OmegleACCOUNT, DIALOG
- BEGIN
- VERTGUIDE, 60
- VERTGUIDE, 185
- END
-
IDD_OPTIONS, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 309
- VERTGUIDE, 24
+ VERTGUIDE, 14
+ VERTGUIDE, 78
VERTGUIDE, 84
+ VERTGUIDE, 163
+ VERTGUIDE, 172
VERTGUIDE, 214
- VERTGUIDE, 296
+ VERTGUIDE, 302
TOPMARGIN, 7
- BOTTOMMARGIN, 241
+ BOTTOMMARGIN, 228
+ END
+
+ IDD_OmegleACCOUNT, DIALOG
+ BEGIN
+ VERTGUIDE, 60
+ VERTGUIDE, 185
END
END
#endif // APSTUDIO_INVOKED
@@ -150,7 +150,8 @@ END
//
// Generated from the TEXTINCLUDE 3 resource.
//
-
+
+
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED
diff --git a/protocols/Omegle/src/chat.cpp b/protocols/Omegle/src/chat.cpp
index c6681c051f..39ad7925e5 100644
--- a/protocols/Omegle/src/chat.cpp
+++ b/protocols/Omegle/src/chat.cpp
@@ -176,7 +176,7 @@ int OmegleProto::OnChatEvent(WPARAM wParam,LPARAM lParam)
// Outgoing message
case STATE_ACTIVE:
- LOG("**Chat - Outgoing message: %s", text.c_str());
+ debugLogA("**Chat - Outgoing message: %s", text.c_str());
ForkThread(&OmegleProto::SendMsgWorker, new std::string(text));
break;
diff --git a/protocols/Omegle/src/common.h b/protocols/Omegle/src/common.h
index ac446b59c9..25f088b66a 100644
--- a/protocols/Omegle/src/common.h
+++ b/protocols/Omegle/src/common.h
@@ -54,7 +54,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <m_protocols.h>
#include <m_protosvc.h>
#include <m_protoint.h>
-#include <m_protomod.h>
#include <m_skin.h>
#include <statusmodes.h>
#include <m_icolib.h>
@@ -67,8 +66,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
class OmegleProto;
-#define LOG Log
-
#include "http.h"
#include "utils.h"
#include "client.h"
diff --git a/protocols/Omegle/src/communication.cpp b/protocols/Omegle/src/communication.cpp
index bfad43d05d..d10f335b29 100644
--- a/protocols/Omegle/src/communication.cpp
+++ b/protocols/Omegle/src/communication.cpp
@@ -37,7 +37,7 @@ http::response Omegle_client::flap( const int request_type, std::string* request
nlhr.dataLength = (int)request_data->length( );
}
- parent->Log("@@@@@ Sending request to '%s'", nlhr.szUrl);
+ parent->debugLogA("@@@@@ Sending request to '%s'", nlhr.szUrl);
switch ( request_type )
{
@@ -78,16 +78,16 @@ http::response Omegle_client::flap( const int request_type, std::string* request
if ( pnlhr != NULL )
{
- parent->Log("@@@@@ Got response with code %d", pnlhr->resultCode);
+ parent->debugLogA("@@@@@ Got response with code %d", pnlhr->resultCode);
store_headers( &resp, pnlhr->headers, pnlhr->headersCount );
resp.code = pnlhr->resultCode;
resp.data = pnlhr->pData ? pnlhr->pData : "";
- parent->Log("&&&&& Got response: %s", resp.data.c_str());
+ parent->debugLogA("&&&&& Got response: %s", resp.data.c_str());
CallService(MS_NETLIB_FREEHTTPREQUESTSTRUCT, 0, (LPARAM)pnlhr);
} else {
- parent->Log("!!!!! No response from server (time-out)");
+ parent->debugLogA("!!!!! No response from server (time-out)");
resp.code = HTTP_CODE_FAKE_DISCONNECTED;
// Better to have something set explicitely as this value
// is compaired in all communication requests
@@ -98,13 +98,13 @@ http::response Omegle_client::flap( const int request_type, std::string* request
bool Omegle_client::handle_entry( std::string method )
{
- parent->Log(" >> Entering %s()", method.c_str());
+ parent->debugLogA(" >> Entering %s()", method.c_str());
return true;
}
bool Omegle_client::handle_success( std::string method )
{
- parent->Log(" << Quitting %s()", method.c_str());
+ parent->debugLogA(" << Quitting %s()", method.c_str());
reset_error();
return true;
}
@@ -113,7 +113,7 @@ bool Omegle_client::handle_error( std::string method, bool force_disconnect )
{
bool result;
increment_error();
- parent->Log("!!!!! %s(): Something with Omegle went wrong", method.c_str());
+ parent->debugLogA("!!!!! %s(): Something with Omegle went wrong", method.c_str());
if ( force_disconnect )
result = false;
@@ -310,7 +310,7 @@ void Omegle_client::store_headers( http::response* resp, NETLIBHTTPHEADER* heade
std::string header_value = headers[i].szValue;
// TODO RM: (un)comment
- //parent->Log("----- Got header '%s': %s", header_name.c_str(), header_value.c_str());
+ //parent->debugLogA("----- Got header '%s': %s", header_name.c_str(), header_value.c_str());
resp->headers[header_name] = header_value;
}
}
@@ -322,7 +322,7 @@ bool Omegle_client::start()
handle_entry( "start" );
this->server_ = get_server();
- //parent->Log("Chosing server %s", this->server_.c_str());
+ //parent->debugLogA("Chosing server %s", this->server_.c_str());
//std::string log = Translate("Chosing server: ") + this->server_;
//parent->UpdateChat(NULL, log.c_str());
@@ -374,7 +374,7 @@ bool Omegle_client::start()
data += "\"" + topic + "\"";
}
- parent->Log("TOPICS: %s", data.c_str());
+ parent->debugLogA("TOPICS: %s", data.c_str());
if (!data.empty()) {
data = "[" + data + "]";
@@ -548,7 +548,7 @@ bool Omegle_client::events( )
std::string like = resp.data.substr(pos, resp.data.find("\"]", pos) - pos);
utils::text::replace_all(&like, "\", \"", ", ");
- parent->Log("Got common likes: '%s'", like.c_str());
+ parent->debugLogA("Got common likes: '%s'", like.c_str());
like = Translate("You and the Stranger both like: ") + like;
@@ -700,10 +700,10 @@ bool Omegle_client::events( )
std::string *message = new std::string(dbv.pszVal);
db_free(&dbv);
- parent->Log("**Chat - saying Hi! message");
+ parent->debugLogA("**Chat - saying Hi! message");
parent->ForkThread(&OmegleProto::SendMsgWorker, message);
}
- else parent->Log("**Chat - Hi message is enabled but not used");
+ else parent->debugLogA("**Chat - Hi message is enabled but not used");
}
}
diff --git a/protocols/Omegle/src/connection.cpp b/protocols/Omegle/src/connection.cpp
index 36deff4f6a..2e760b810e 100644
--- a/protocols/Omegle/src/connection.cpp
+++ b/protocols/Omegle/src/connection.cpp
@@ -26,7 +26,7 @@ void OmegleProto::SignOn(void*)
{
SYSTEMTIME t;
GetLocalTime( &t );
- Log("[%d.%d.%d] Using Omegle Protocol %s", t.wDay, t.wMonth, t.wYear, __VERSION_STRING);
+ debugLogA("[%d.%d.%d] Using Omegle Protocol %s", t.wDay, t.wMonth, t.wYear, __VERSION_STRING);
ScopedLock s(signon_lock_);
@@ -80,9 +80,9 @@ void OmegleProto::StopChat(bool disconnect)
UpdateChat(NULL, TranslateT("Disconnecting..."), true);
if (facy.stop())
- LOG("***** Disconnected from stranger %s", facy.chat_id_.c_str());
+ debugLogA("***** Disconnected from stranger %s", facy.chat_id_.c_str());
else
- LOG("***** Error in disconnecting from stranger %s", facy.chat_id_.c_str());
+ debugLogA("***** Error in disconnecting from stranger %s", facy.chat_id_.c_str());
}
if (spy) {
@@ -115,9 +115,9 @@ void OmegleProto::NewChat()
UpdateChat(NULL, TranslateT("Disconnecting..."), true);
if (facy.stop())
- LOG("***** Disconnected from stranger %s", facy.chat_id_.c_str());
+ debugLogA("***** Disconnected from stranger %s", facy.chat_id_.c_str());
else
- LOG("***** Error in disconnecting from stranger %s", facy.chat_id_.c_str());
+ debugLogA("***** Error in disconnecting from stranger %s", facy.chat_id_.c_str());
if (facy.state_ == STATE_SPY) {
DeleteChatContact(TranslateT("Stranger 1"));
@@ -137,7 +137,7 @@ void OmegleProto::NewChat()
if (facy.start())
{
UpdateChat(NULL, TranslateT("Waiting for Stranger..."), true);
- LOG("***** Waiting for stranger %s", facy.chat_id_.c_str());
+ debugLogA("***** Waiting for stranger %s", facy.chat_id_.c_str());
}
}
else if (facy.state_ == STATE_DISCONNECTING)
@@ -155,7 +155,7 @@ void OmegleProto::NewChat()
if (facy.start())
{
UpdateChat(NULL, TranslateT("Waiting for Stranger..."), true);
- LOG("***** Waiting for stranger %s", facy.chat_id_.c_str());
+ debugLogA("***** Waiting for stranger %s", facy.chat_id_.c_str());
ForkThread( &OmegleProto::EventsLoop, this );
}
@@ -168,15 +168,15 @@ void OmegleProto::EventsLoop(void *)
ScopedLock s(events_loop_lock_);
time_t tim = ::time(NULL);
- LOG( ">>>>> Entering Omegle::EventsLoop[%d]", tim );
+ debugLogA( ">>>>> Entering Omegle::EventsLoop[%d]", tim );
while ( facy.events())
{
if ( facy.state_ == STATE_INACTIVE || facy.state_ == STATE_DISCONNECTING || !isOnline())
break;
- LOG( "***** OmegleProto::EventsLoop[%d] refreshing...", tim );
+ debugLogA( "***** OmegleProto::EventsLoop[%d] refreshing...", tim );
}
ResetEvent(events_loop_lock_);
- LOG( "<<<<< Exiting OmegleProto::EventsLoop[%d]", tim );
+ debugLogA( "<<<<< Exiting OmegleProto::EventsLoop[%d]", tim );
}
diff --git a/protocols/Omegle/src/db.h b/protocols/Omegle/src/db.h
index 2604b70c43..fc1b8d890f 100644
--- a/protocols/Omegle/src/db.h
+++ b/protocols/Omegle/src/db.h
@@ -39,7 +39,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define OMEGLE_KEY_REUSE_QUESTION "ReuseQuestion"
#define OMEGLE_KEY_SERVER "Server"
#define OMEGLE_KEY_LANGUAGE "Language"
-#define OMEGLE_KEY_LOGGING "EnableLogging"
#define OMEGLE_KEY_SERVER_INFO "GetServerInfo"
#define OMEGLE_KEY_LAST_QUESTION "LastQuestion"
#define OMEGLE_KEY_AUTO_CONNECT "AutoConnect"
diff --git a/protocols/Omegle/src/dialogs.cpp b/protocols/Omegle/src/dialogs.cpp
index 057a43955f..b531e58b45 100644
--- a/protocols/Omegle/src/dialogs.cpp
+++ b/protocols/Omegle/src/dialogs.cpp
@@ -174,7 +174,6 @@ INT_PTR CALLBACK OmegleOptionsProc( HWND hwnd, UINT message, WPARAM wparam, LPAR
LoadDBCheckState(proto, hwnd, IDC_DONTSTOP, OMEGLE_KEY_DONT_STOP);
LoadDBCheckState(proto, hwnd, IDC_REUSE_QUESTIONS, OMEGLE_KEY_REUSE_QUESTION);
LoadDBCheckState(proto, hwnd, IDC_SERVER_INFO, OMEGLE_KEY_SERVER_INFO);
- LoadDBCheckState(proto, hwnd, IDC_LOGGING, OMEGLE_KEY_LOGGING);
LoadDBCheckState(proto, hwnd, IDC_AUTO_CONNECT, OMEGLE_KEY_AUTO_CONNECT);
} return TRUE;
@@ -203,7 +202,6 @@ INT_PTR CALLBACK OmegleOptionsProc( HWND hwnd, UINT message, WPARAM wparam, LPAR
case IDC_DONTSTOP:
case IDC_REUSE_QUESTIONS:
case IDC_SERVER_INFO:
- case IDC_LOGGING:
case IDC_AUTO_CONNECT:
if (HIWORD(wparam) == BN_CLICKED) {
SendMessage(GetParent(hwnd), PSM_CHANGED, 0, 0);
@@ -231,7 +229,6 @@ INT_PTR CALLBACK OmegleOptionsProc( HWND hwnd, UINT message, WPARAM wparam, LPAR
StoreDBCheckState(proto, hwnd, IDC_DONTSTOP, OMEGLE_KEY_DONT_STOP);
StoreDBCheckState(proto, hwnd, IDC_REUSE_QUESTIONS, OMEGLE_KEY_REUSE_QUESTION);
StoreDBCheckState(proto, hwnd, IDC_SERVER_INFO, OMEGLE_KEY_SERVER_INFO);
- StoreDBCheckState(proto, hwnd, IDC_LOGGING, OMEGLE_KEY_LOGGING);
StoreDBCheckState(proto, hwnd, IDC_AUTO_CONNECT, OMEGLE_KEY_AUTO_CONNECT);
return TRUE;
diff --git a/protocols/Omegle/src/events.cpp b/protocols/Omegle/src/events.cpp
deleted file mode 100644
index b5f29b13ef..0000000000
--- a/protocols/Omegle/src/events.cpp
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-
-Omegle plugin for Miranda Instant Messenger
-_____________________________________________
-
-Copyright © 2011-13 Robert Pösel
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-*/
-
-#include "common.h"
-
-int OmegleProto::Log(const char *fmt,...)
-{
- if (!getByte(OMEGLE_KEY_LOGGING, 0))
- return EXIT_SUCCESS;
-
- va_list va;
- char text[65535];
- ScopedLock s(log_lock_);
-
- va_start(va,fmt);
- mir_vsnprintf(text,sizeof(text),fmt,va);
- va_end(va);
-
- return utils::debug::log( m_szModuleName, text );
-}
diff --git a/protocols/Omegle/src/proto.h b/protocols/Omegle/src/proto.h
index 5f376e680d..a27e8f24b9 100644
--- a/protocols/Omegle/src/proto.h
+++ b/protocols/Omegle/src/proto.h
@@ -141,7 +141,4 @@ public:
HANDLE events_loop_lock_;
static void CALLBACK APC_callback(ULONG_PTR p);
-
- // Logging
- int Log(const char *fmt,...);
};
diff --git a/protocols/Omegle/src/resource.h b/protocols/Omegle/src/resource.h
index e34fac5b93..8d59696e1c 100644
--- a/protocols/Omegle/src/resource.h
+++ b/protocols/Omegle/src/resource.h
@@ -1,6 +1,6 @@
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
-// Used by D:\Development\Miranda NG\protocols\Omegle\res\omegle.rc
+// Used by ..\res\omegle.rc
//
#define IDI_OMEGLE 101
#define IDD_OmegleACCOUNT 111
@@ -18,7 +18,6 @@
#define IDC_NOCLEAR 1213
#define IDC_DONTSTOP 1214
#define IDC_REUSE_QUESTIONS 1215
-#define IDC_LOGGING 1216
#define IDC_SERVER_INFO 1217
#define IDC_AUTO_CONNECT 1219