code
stringlengths
1
2.06M
language
stringclasses
1 value
#include <string> #include <PopupServerUI.hpp> struct MaquiServer : public Popup::ServerUI { MaquiServer(const std::string & p_rcpath = ""); virtual std::string getResourceDir(); virtual std::string getDefaultAvatar(); virtual void onClientConnected(__unused__ const Popup::User & p_client) {} virtual voi...
C++
#include <stdlib.h> #include <iostream> #include "PopupServer.hpp" #include <PopupSqlite3Database.hpp> using namespace std; using namespace Popup; using namespace PopupUtils; int main(int argc, char *argv[]) { int port = 2001; int nbMaxConnections = 512; MaquiServer _svrui("./popup_svr/rc"); PopupSqlite3Data...
C++
#include <stdlib.h> #include <string> #include <string.h> #include <vector> #include <sstream> #include <iostream> #include <errno.h> #include "PopupServer.hpp" #include "PopupOSAL.hpp" #include "msg/PopupMessages.hpp" using namespace std; using namespace Popup; using namespace PopupUtils; //=========================...
C++
/* * PopupUtilities.cpp * * Created on: Mar 28, 2012 * Author: guillou */ #include <stdio.h> #include <string.h> #include "PopupUtilities.hpp" using namespace Popup; void Utils::dumpBuffer(const void *p_buffer, size_t p_size) { for (size_t i = 0; i < p_size; i++) { fprintf(stdout, "%02x", ((const un...
C++
#ifndef __POPUP_SSL_HPP__ #define __POPUP_SSL_HPP__ #include <openssl/rsa.h> #include <openssl/blowfish.h> #include <PopupLoggerUI.hpp> namespace Popup { enum SslContextType { CLIENT_CONTEXT, SERVER_CONTEXT }; typedef unsigned char BlowfishKey[128]; struct BlowfishHelper { BlowfishHelper(SslContextType ...
C++
/* * PopupUtilities.hpp * * Created on: Mar 28, 2012 * Author: guillou */ #ifndef POPUPUTILITIES_HPP_ #define POPUPUTILITIES_HPP_ #include <stdlib.h> #define POPUP_MACRO_MIN(a,b) ((a) < (b) ? (a) : (b)) #define POPUP_MACRO_MAX(a,b) ((a) > (b) ? (a) : (b)) namespace Popup { namespace Utils { void du...
C++
/* * PopupLibInternalTypes.hpp * * Created on: May 26, 2012 * Author: guillou */ #ifndef POPUPLIBINTERNALTYPES_HPP_ #define POPUPLIBINTERNALTYPES_HPP_ #include <string> #include <PopupLibTypes.hpp> #include <PopupOSAL.hpp> namespace Popup { struct FileTransferExt : public FileTransfer { unsigned i...
C++
#include <iostream> #include <sstream> #include <string> #include <string.h> #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <stdio.h> #include <errno.h> #include <msg/PopupMessages.hpp> #include <PopupDatabaseUI.hpp> #include <PopupLoggerUI.hpp> #include "PopupClient.hpp" ...
C++
#ifndef __POPUP_CLIENT_HPP__ #define __POPUP_CLIENT_HPP__ #include <PopupClientUI.hpp> #include <PopupOSAL.hpp> #include <msg/PopupAbstractMessage.hpp> #include "PopupSSL.hpp" #include <queue> #include <set> class SocketClient; namespace Popup { class ClientImpl: public Client, public PopupUtils::...
C++
#ifndef __POPUP_SERVER_HPP__ #define __POPUP_SERVER_HPP__ #include <string> #include <PopupServerUI.hpp> #include <PopupOSAL.hpp> #include <msg/PopupMessages.hpp> #include "PopupSSL.hpp" #include "PopupDatabaseUI.hpp" namespace Popup { struct ClientSession { PopupUtils::Socket *socket; UserID id; bool ...
C++
/* * PopupLibTypes.cpp * * Created on: Jul 2, 2012 * Author: guillou */ #include <PopupLibTypes.hpp> using namespace std; using namespace Popup; const UserList EmptyUserList; const User NullUser; void User::update(const User & p_user, unsigned short p_updateMask) { id = p_user...
C++
#include <iostream> #include <string.h> #include <openssl/x509.h> #include <openssl/rand.h> #include <openssl/err.h> #include <PopupLibTypes.hpp> #include <PopupOSAL.hpp> #include "PopupSSL.hpp" #include "PopupUtilities.hpp" using namespace std; using namespace Popup; static bool randInitialized = false; #define RSA_...
C++
/* * PopupFileTransferExt.cpp * * Created on: May 26, 2012 * Author: guillou */ #include "PopupUtilities.hpp" #include "PopupFileTransferExt.hpp" using namespace Popup; using namespace std; FileTransferExt::FileTransferExt(MessageID p_messageID, AttachmentID p_attachmentID...
C++
#ifndef __POPUPRSAPUBLICKEYMSG_HPP__ #define __POPUPRSAPUBLICKEYMSG_HPP__ #include "PopupAbstractMessage.hpp" #include <PopupSSL.hpp> namespace Popup { struct RsaPublicKeyMsg : public AbstractMessage { enum { RSA_PUBLIC_KEY = 0x1234 }; RsaPublicKeyMsg(const SslContext *p_sslContext) : AbstractMessage...
C++
#include <string.h> #include "PopupAbstractMessage.hpp" #include "PopupSSL.hpp" using namespace std; using namespace Popup; #define POPUP_BOOLEAN_TRUE 0x01 #define POPUP_BOOLEAN_FALSE 0x00 //============================================================================= // Construction //=============================...
C++
#ifndef POPUPCLIENTUPDATEMESSAGE_HPP_ #define POPUPCLIENTUPDATEMESSAGE_HPP_ #include <PopupLibTypes.hpp> #include <PopupLoggerUI.hpp> #include "PopupAbstractMessage.hpp" namespace Popup { struct UserUpdateMsg : public AbstractMessage, public User { enum { USERID, USERNICKNAME, AVATAR_RA...
C++
#include "PopupConnectionAck.hpp" using namespace std; using namespace Popup; ConnectionAck::ConnectionAck(const Message *p_message, const string & p_resourcePath) : AbstractMessage(POPUP_MSG_TYPE_CONNECTION_ACK), resourcePath(p_resourcePath) { AbstractMessage::deserialize(p_message);...
C++
#include <string.h> #include "PopupRsaPublicKeyMsg.hpp" using namespace Popup; RsaPublicKeyMsg::RsaPublicKeyMsg(const Message *p_message) : AbstractMessage(POPUP_MSG_TYPE_RSA_PUBLIC_KEY), receivedKey(0), receivedKeySize(0) { AbstractMessage::deserialize(p_message); } RsaPublicKeyMsg::~RsaPublicKeyMsg() { if...
C++
/* * PopupUserMessageWrapper.hpp * * Created on: May 11, 2012 * Author: guillou */ #ifndef POPUPUSERMESSAGEWRAPPER_HPP_ #define POPUPUSERMESSAGEWRAPPER_HPP_ #include <PopupLibTypes.hpp> #include "PopupAbstractMessage.hpp" namespace Popup { struct UserMessageWrapper : public AbstractMessage, public UserM...
C++
#ifndef POPUPCONNECTIONACK_HPP_ #define POPUPCONNECTIONACK_HPP_ #include <PopupLibTypes.hpp> #include "PopupAbstractMessage.hpp" namespace Popup { struct ConnectionAck : public AbstractMessage { enum { STATUS, ERR_MESSAGE, SESSIONID, USERID, USERNICKNAME, AVATAR_RAW_DAT...
C++
/* * PopupSubmitCanvassMsg.cpp * * Created on: Jul 16, 2012 * Author: guillou */ #include "PopupCanvassSubmitMsg.hpp" using namespace std; using namespace Popup; CanvassSubmitMsg::CanvassSubmitMsg(const Message *p_message) : AbstractMessage(POPUP_MSG_TYPE_CANVASS_SUBMIT) { AbstractMessage::deserialize(p...
C++
/* * PopupStatisticsUpdateMsg.hpp * * Created on: Jul 25, 2012 * Author: guillou */ #ifndef POPUPSTATISTICSUPDATEMSG_HPP_ #define POPUPSTATISTICSUPDATEMSG_HPP_ #include <PopupLibTypes.hpp> #include "PopupAbstractMessage.hpp" namespace Popup { struct StatisticsUpdateMsg : public AbstractMessage { e...
C++
#ifndef __POPUPBLOWFISKKEYMSG_HPP__ #define __POPUPBLOWFISKKEYMSG_HPP__ #include "PopupMessage.hpp" #include "PopupAbstractMessage.hpp" #include "PopupSSL.hpp" namespace Popup { struct BlowfishKeyMsg : public AbstractMessage { enum { BLOWFISH_KEY = 0x4321 }; //! Constructor used in order to send our blow...
C++
#ifndef POPUP_ABSTRACT_MESSAGE_H #define POPUP_ABSTRACT_MESSAGE_H #include <string> #include <vector> #include <set> #include <map> #include <PopupOSAL.hpp> #include "PopupMessage.hpp" #include <PopupLoggerUI.hpp> #include "PopupSSL.hpp" namespace Popup { struct AbstractMessage { public: ...
C++
/* * PopupCanvassVoteMsg.hpp * * Created on: Jul 17, 2012 * Author: guillou */ #ifndef POPUPCANVASSVOTEMSG_HPP_ #define POPUPCANVASSVOTEMSG_HPP_ #include <PopupLibTypes.hpp> #include "PopupAbstractMessage.hpp" namespace Popup { struct CanvassVoteMsg : public AbstractMessage, public Vote { enum ...
C++
/* * PopupInvitationMsg.hpp * * Created on: Sep 12, 2012 * Author: guillou */ #ifndef POPUPINVITATIONMSG_HPP_ #define POPUPINVITATIONMSG_HPP_ #include <PopupLibTypes.hpp> #include "PopupAbstractMessage.hpp" namespace Popup { struct ThreadInvitationMsg : public AbstractMessage, public ThreadInvitation ...
C++
#include "PopupUserMessage.hpp" using namespace std; using namespace Popup; UserMessageWrapper::UserMessageWrapper(const Message *p_message) : AbstractMessage(POPUP_MSG_TYPE_MESSAGE) { AbstractMessage::deserialize(p_message); } bool UserMessageWrapper::onSend() { bool _rc = payloadAddLongLong(THREAD, message.thr...
C++
#include "PopupThreadInvitationMsg.hpp" using namespace std; using namespace Popup; ThreadInvitationMsg::ThreadInvitationMsg(const Message *p_message) : AbstractMessage(POPUP_MSG_TYPE_INVITATION) { AbstractMessage::deserialize(p_message); } bool ThreadInvitationMsg::onSend() { bool _rc = payloadAddLongLong(THREA...
C++
/* * PopupSubmitCanvassMsg.hpp * * Created on: Jul 16, 2012 * Author: guillou */ #ifndef POPUPSUBMITCANVASSMSG_HPP_ #define POPUPSUBMITCANVASSMSG_HPP_ #include <PopupLibTypes.hpp> #include "PopupAbstractMessage.hpp" namespace Popup { struct CanvassSubmitMsg : public AbstractMessage, public Canvass { ...
C++
#include "PopupLoginMsg.hpp" using namespace Popup; LoginMsg::LoginMsg(const Message *p_message) : AbstractMessage(POPUP_MSG_TYPE_LOGIN, POPUP_ENCRYPTION_BLOWFISH) { AbstractMessage::deserialize(p_message); } bool LoginMsg::onSend() { return (AbstractMessage::payloadAddString(LOGIN, login) && AbstractM...
C++
#include "PopupStatisticsUpdateMsg.hpp" using namespace std; using namespace Popup; StatisticsUpdateMsg::StatisticsUpdateMsg(const Message *p_message) : AbstractMessage(POPUP_MSG_TYPE_STATISTICS_UPDATE) { AbstractMessage::deserialize(p_message); } bool StatisticsUpdateMsg::onSend() { bool _rc = true; if (sta...
C++
/* * PopupAttachmentMsg.hpp * * Created on: May 12, 2012 * Author: guillou */ #ifndef POPUPATTACHMENTMSG_HPP_ #define POPUPATTACHMENTMSG_HPP_ #include "PopupLibTypes.hpp" #include "PopupAbstractMessage.hpp" #include "PopupFileTransferExt.hpp" namespace Popup { struct AttachmentMsg : public AbstractMessa...
C++
#ifndef POPUP_MESSAGES_ID #define POPUP_MESSAGES_ID #ifdef _WIN32 #include <winsock2.h> #else #include <arpa/inet.h> #endif #include <PopupOSAL.hpp> #include <PopupSSL.hpp> #include <PopupUtilities.hpp> #include <map> namespace Popup { #define POPUP_MAGIC 0xBEBE //===========================...
C++
/* * PopupCanvassVoteMsg.cpp * * Created on: Jul 17, 2012 * Author: guillou */ #include "PopupCanvassVoteMsg.hpp" using namespace std; using namespace Popup; CanvassVoteMsg::CanvassVoteMsg(const Message *p_message) : AbstractMessage(POPUP_MSG_TYPE_CANVASS_VOTE) { AbstractMessage::deserialize(p_message);...
C++
#include "PopupUserMessageReaction.hpp" using namespace std; using namespace Popup; RateUserMessageWrapper::RateUserMessageWrapper(const Message *p_message) : AbstractMessage(POPUP_MSG_TYPE_RATE_MESSAGE) { AbstractMessage::deserialize(p_message); } bool RateUserMessageWrapper::onSend() { bool _rc = payloadAddLon...
C++
/* * PopupUserMessageReaction.hpp * * Created on: Jul 5, 2012 * Author: guillou */ #ifndef POPUPUSERMESSAGEREACTION_HPP_ #define POPUPUSERMESSAGEREACTION_HPP_ #include <PopupLibTypes.hpp> #include "PopupAbstractMessage.hpp" namespace Popup { struct RateUserMessageWrapper : public AbstractMessage, public...
C++
#include "PopupMessage.hpp" #include "PopupAbstractMessage.hpp" #include <string.h> #include "PopupUtilities.hpp" #include <PopupLoggerUI.hpp> using namespace Popup; using namespace PopupUtils; bool MessageNetworker::receive(Message **p_message, RawMessage **p_rawMessage, ...
C++
#include <string.h> #include "PopupSSL.hpp" #include "PopupBlowfishKeyMsg.hpp" #include "PopupUtilities.hpp" using namespace Popup; BlowfishKeyMsg::BlowfishKeyMsg(const Message *p_message) : AbstractMessage(POPUP_MSG_TYPE_BLOWFISH_KEY, POPUP_ENCRYPTION_RSA) { AbstractMessage::deserialize(p_message); } bool Blowf...
C++
/* * PopupMessages.hpp * * Created on: May 11, 2012 * Author: guillou */ #ifndef POPUPMESSAGES_HPP_ #define POPUPMESSAGES_HPP_ #include "PopupMessage.hpp" #include "PopupAbstractMessage.hpp" #include "PopupRsaPublicKeyMsg.hpp" #include "PopupBlowfishKeyMsg.hpp" #include "PopupLoginMsg.hpp" #include "PopupC...
C++
/* * PopupKeepAliveMsg.hpp * * Created on: Dec 2, 2012 * Author: guillou */ #ifndef POPUPKEEPALIVEMSG_HPP_ #define POPUPKEEPALIVEMSG_HPP_ #include "PopupAbstractMessage.hpp" namespace Popup { struct KeepAliveProbe : public AbstractMessage { KeepAliveProbe() : AbstractMessage(POPUP_MSG_TYPE_KEEPALI...
C++
#include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include "PopupAttachmentMsg.hpp" using namespace std; using namespace Popup; AttachmentMsg::AttachmentMsg(const Message *p_message) : AbstractMessage(POPUP_MSG_TYPE_ATTACHMENT), sendinfo(0) { AbstractMessage::deserialize(p_message); } bool Attachment...
C++
#ifndef POPUPLOGINMSG_HPP_ #define POPUPLOGINMSG_HPP_ #include "PopupAbstractMessage.hpp" namespace Popup { struct LoginMsg : public AbstractMessage { enum { LOGIN = 0xEBA1, PASSWORD = 0xC0C0, CREATEUSER = 0xCACA }; //! Constructor used in order to send login request LoginMsg(const std::string & p_lo...
C++
#include <sstream> #include "PopupLoggerUI.hpp" #include "PopupUserUpdateMsg.hpp" using namespace std; using namespace Popup; using namespace PopupUtils; UserUpdateMsg::UserUpdateMsg(const Message *p_message, const string & p_resourcePath) : AbstractMessage(POPUP_MSG_TYPE_USER_UPDATE), ...
C++
#ifndef __POPUP_LIB_TYPES_H__ #define __POPUP_LIB_TYPES_H__ #include <string> #include <vector> #include <set> #include <map> #include <stdint.h> #include <PopupOSAL.hpp> #define POPUP_MSG_SPLIT_SIZE 1024 namespace Popup { #ifdef __GNUC__ #define __unused__ __attribute__ ((unused)) #endif typedef enum { POP...
C++
#ifndef __POPUP_DATABASE_UI_HPP__ #define __POPUP_DATABASE_UI_HPP__ #include <string> #include <PopupLibTypes.hpp> namespace Popup { struct DatabaseUI { virtual ~DatabaseUI() {} struct StatisticItemUpdateResult { StatisticItemUpdateResult() : newItemValue(0), isNewRecord(false), ...
C++
#ifndef __POPUP_CLIENT_UI_HPP__ #define __POPUP_CLIENT_UI_HPP__ #include <string> #include "PopupLibTypes.hpp" namespace Popup { //============================================================================ // API which a client UI shall implement //===================================================...
C++
#ifndef __POPUP_SERVER_UI_HPP__ #define __POPUP_SERVER_UI_HPP__ #include "PopupLibTypes.hpp" #include "PopupLoggerUI.hpp" #include "PopupDatabaseUI.hpp" namespace Popup { //============================================================================ // API which a server UI shall implement //===================...
C++
#include <PopupDefaultLogger.hpp> #include <string> #include <openssl/rsa.h> #include <openssl/x509.h> #include <openssl/rand.h> #include <openssl/blowfish.h> #include <openssl/err.h> #include <string.h> using namespace Popup; using namespace std; #define NULL_IVEC { 0, 0, 0, 0, 0, 0, 0, 0 } static PopupDefaultLogge...
C++
#include <PopupDefaultLogger.hpp> #include <stdarg.h> #include <stdio.h> using namespace Popup; struct MyPopupLogger : public PopupLoggerUI { void appendLog(enum PopupLogLevel p_level, const char *p_format, ...); }; void MyPopupLogger::appendLog(enum PopupLogLevel p_level, const char *p_format, ...) { ...
C++
#include <iostream> #include <PopupClientUI.hpp> #include <PopupDefaultLogger.hpp> #include <PopupOSAL.hpp> #include <stdlib.h> using namespace std; using namespace Popup; static Client *client; struct MaquiClient : public ClientUI { LoggerUI *logger; MaquiClient(LoggerUI *p_logger) : logger(p_logger) {} /...
C++
#include "stdafx.h" #include "TrayMenuBtn.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CTrayMenuBtn BEGIN_MESSAGE_MAP(CTrayMenuBtn, CWnd) ON_WM_PAINT() END_MESSAGE_M...
C++
#include "ResourceEntry.h" using namespace std; //====================================================== // Resource class methods //====================================================== LPCTSTR ResourceEntry::getRandomImage() { if (m_imagesPath.size() == 0) return _T(""); srand( (unsigned)time( NULL )...
C++
//this file is part of ePopup // //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...
C++
// ResizableGrip.h: interface for the CResizableGrip class. // ///////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2000-2002 by Paolo Messina // (http://www.geocities.com/ppescher - ppescher@yahoo.com) // // The contents of this file are subject to the Artistic Licen...
C++
#if !defined(AFX_RESIZABLESHEETEX_H__INCLUDED_) #define AFX_RESIZABLESHEETEX_H__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 ///////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2000-2002 by Paolo Messina // (http://www.geocities.com/ppesc...
C++
// ResizableLayout.cpp: implementation of the CResizableLayout class. // ///////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2000-2002 by Paolo Messina // (http://www.geocities.com/ppescher - ppescher@yahoo.com) // // The contents of this file are subject to the Arti...
C++
// ResizablePage.cpp : implementation file // ///////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2000-2002 by Paolo Messina // (http://www.geocities.com/ppescher - ppescher@yahoo.com) // // The contents of this file are subject to the Artistic License (the "License"...
C++
// ResizableMinMax.cpp: implementation of the CResizableMinMax class. // ///////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2000-2002 by Paolo Messina // (http://www.geocities.com/ppescher - ppescher@yahoo.com) // // The contents of this file are subject to the Arti...
C++
// ResizableFrame.cpp : implementation file // ///////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2000-2002 by Paolo Messina // (http://www.geocities.com/ppescher - ppescher@yahoo.com) // // The contents of this file are subject to the Artistic License (the "License...
C++
#if !defined(AFX_RESIZABLEPAGEEX_H__INCLUDED_) #define AFX_RESIZABLEPAGEEX_H__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // ResizablePageEx.h : header file // ///////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2000-2002 by Paolo Messi...
C++
#if !defined(AFX_RESIZABLEFORMVIEW_H__INCLUDED_) #define AFX_RESIZABLEFORMVIEW_H__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // ResizableFormView.h : header file // ///////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2000-2002 by Paolo...
C++
// ResizableState.cpp: implementation of the CResizableState class. // ///////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2000-2002 by Paolo Messina // (http://www.geocities.com/ppescher - ppescher@yahoo.com) // // The contents of this file are subject to the Artist...
C++
// ResizableSheetEx.cpp : implementation file // ///////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2000-2002 by Paolo Messina // (http://www.geocities.com/ppescher - ppescher@yahoo.com) // // The contents of this file are subject to the Artistic License (the "Licen...
C++
// ResizableMDIFrame.cpp : implementation file // ///////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2000-2002 by Paolo Messina // (http://www.geocities.com/ppescher - ppescher@yahoo.com) // // The contents of this file are subject to the Artistic License (the "Lice...
C++
// ResizableLayout.h: interface for the CResizableLayout class. // ///////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2000-2002 by Paolo Messina // (http://www.geocities.com/ppescher - ppescher@yahoo.com) // // The contents of this file are subject to the Artistic L...
C++
#if !defined(AFX_RESIZABLEPAGE_H__INCLUDED_) #define AFX_RESIZABLEPAGE_H__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // ResizablePage.h : header file // ///////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2000-2002 by Paolo Messina //...
C++
#if !defined(AFX_RESIZABLEFRAME_H__4BA07057_6EF3_43A4_A80B_A24FA3A8B5C7__INCLUDED_) #define AFX_RESIZABLEFRAME_H__4BA07057_6EF3_43A4_A80B_A24FA3A8B5C7__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // ResizableFrame.h : header file // /////////////////////////////////////////////////////...
C++
#if !defined(AFX_RESIZABLEDIALOG_H__INCLUDED_) #define AFX_RESIZABLEDIALOG_H__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // ResizableDialog.h : header file // ///////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2000-2002 by Paolo Messi...
C++
// ResizableMDIChild.cpp : implementation file // ///////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2000-2002 by Paolo Messina // (http://www.geocities.com/ppescher - ppescher@yahoo.com) // // The contents of this file are subject to the Artistic License (the "Lice...
C++
// ResizableGrip.cpp: implementation of the CResizableGrip class. // ///////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2000-2002 by Paolo Messina // (http://www.geocities.com/ppescher - ppescher@yahoo.com) // // The contents of this file are subject to the Artistic...
C++
#if !defined(AFX_RESIZABLEMDIFRAME_H__4BA07057_6EF3_43A4_A80B_A24FA3A8B5C7__INCLUDED_) #define AFX_RESIZABLEMDIFRAME_H__4BA07057_6EF3_43A4_A80B_A24FA3A8B5C7__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // ResizableMDIFrame.h : header file // ////////////////////////////////////////////...
C++
#if !defined(AFX_RESIZABLEMDICHILD_H__EA9AE112_0E99_4D6E_B42B_A3BA9DE3756E__INCLUDED_) #define AFX_RESIZABLEMDICHILD_H__EA9AE112_0E99_4D6E_B42B_A3BA9DE3756E__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // ResizableMDIChild.h : header file // ////////////////////////////////////////////...
C++
// ResizableState.h: interface for the CResizableState class. // ///////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2000-2002 by Paolo Messina // (http://www.geocities.com/ppescher - ppescher@yahoo.com) // // The contents of this file are subject to the Artistic Lic...
C++
#if !defined(AFX_RESIZABLESHEET_H__INCLUDED_) #define AFX_RESIZABLESHEET_H__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 ///////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2000-2002 by Paolo Messina // (http://www.geocities.com/ppescher ...
C++
// ResizableDialog.cpp : implementation file // ///////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2000-2002 by Paolo Messina // (http://www.geocities.com/ppescher - ppescher@yahoo.com) // // The contents of this file are subject to the Artistic License (the "Licens...
C++
// ResizableMsgSupport.inl: some definitions to support custom resizable wnds // ///////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2000-2002 by Paolo Messina // (http://www.geocities.com/ppescher - ppescher@yahoo.com) // // The contents of this file are subject to ...
C++
// ResizablePageEx.cpp : implementation file // ///////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2000-2002 by Paolo Messina // (http://www.geocities.com/ppescher - ppescher@yahoo.com) // // The contents of this file are subject to the Artistic License (the "Licens...
C++
// ResizableFormView.cpp : implementation file // ///////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2000-2002 by Paolo Messina // (http://www.geocities.com/ppescher - ppescher@yahoo.com) // // The contents of this file are subject to the Artistic License (the "Lice...
C++
// ResizableSheet.cpp : implementation file // ///////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2000-2002 by Paolo Messina // (http://www.geocities.com/ppescher - ppescher@yahoo.com) // // The contents of this file are subject to the Artistic License (the "License...
C++
// ResizableMinMax.h: interface for the CResizableMinMax class. // ///////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2000-2002 by Paolo Messina // (http://www.geocities.com/ppescher - ppescher@yahoo.com) // // The contents of this file are subject to the Artistic L...
C++
//this file is part of ePopup // //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...
C++
#include "Logger.h" #include <sstream> #include <string> #include <stdlib.h> #include <stdio.h> using namespace std; //====================================================== // Logging utility //====================================================== Logger::Logger(const string & outputDir /* = "" */) : ...
C++
#include "StdAfx.h" #include "PopupAutoModeThread.h" #include "popup.h" #include "popupdlg.h" #include <iostream> #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif using namespace std; IMPLEMENT_DYNCREATE(PopupAutoModeThread, CWinThread) BOOL PopupAutoMo...
C++
// ------------------------------------------------------------ // CDialogMinTrayBtn template class // MFC CDialog with minimize to systemtray button (0.04) // Supports WinXP styles (thanks to David Yuheng Zhao for CVisualStylesXP - yuheng_zhao@yahoo.com) // ----------------------------------------------------------...
C++
#include "stdafx.h" #include "popup.h" #include "ini2.h" #include "otherfunctions.h" #include "enbitmap.h" #include "TaskbarNotifier.h" #include "popupdlg.h" //#include "UserMsgs.h" #include <atlimage.h> #include <string> #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FI...
C++
//this file is part of ePopup // //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...
C++
#include "stdafx.h"
C++
//this file is part of ePopup // //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...
C++
//this file is part of ePopup // //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...
C++
// MyTabCtrl.cpp : implementation file // ///////////////////////////////////////////////////// // This class is provided as is and Ben Hill takes no // responsibility for any loss of any kind in connection // to this code. ///////////////////////////////////////////////////// // Is is meant purely as a educatio...
C++
#pragma once #include "afxwin.h" #include "Popup.h" // PopupPropertiesDlg dialog class PopupPropertiesDlg : public CDialog { DECLARE_DYNAMIC(PopupPropertiesDlg) public: PopupPropertiesDlg(CWnd* pParent = NULL); // standard constructor virtual ~PopupPropertiesDlg(); virtual BOOL validateDialog(); ...
C++
#include "StdAfx.h" #include "PopupEventThread.h" #include "popup.h" #include "popupdlg.h" /* #include "UserMsgs.h" #include "OtherFunctions.h" #include "TaskbarNotifier.h" #include "ResourceEntry.h" #include "SenderDialog.h" #include "PopupClient.h" */ #include <vector> #include <string> #include <sstrea...
C++
#pragma warning (disable:4786) #include "stdafx.h" #include "Options.h" #include <sstream> #include <stdio.h> #include <string> #include <sstream> using namespace std; //------------------------------------- bool Options::load(const string & path) { char _buff[128]; char *str; string optname; ...
C++
#include "StdAfx.h" #include "PopupServerThread.h" #include "popup.h" #include "popupdlg.h" #include "PopupServer.h" #include <iostream> #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif using namespace std; IMPLEMENT_DYNCREATE(PopupServerThread, CWinThrea...
C++
//this file is part of ePopup // //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...
C++
// PopupMainDialog.cpp : implementation file // #include "stdafx.h" #include "popup.h" #include "PopupMainDialog.h" #include "SenderDialog.h" #include "PopupHistoryDialog.h" // PopupMainDialog dialog IMPLEMENT_DYNAMIC(PopupMainDialog, CDialog) PopupMainDialog::PopupMainDialog(CWnd* pParent /*=NULL*/) ...
C++
//this file is part of ePopup // //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...
C++
// PopupPropertiesDlg.cpp : implementation file // #include "stdafx.h" #include "popup.h" #include "PopupPropertiesDlg.h" #include "Options.h" #include "OtherFunctions.h" #include <string> using namespace std; // PopupPropertiesDlg dialog IMPLEMENT_DYNAMIC(PopupPropertiesDlg, CDialog) PopupProperti...
C++
//this file is part of ePopup // //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...
C++
//this file is part of ePopup // //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...
C++