code stringlengths 1 2.01M | repo_name stringlengths 3 62 | path stringlengths 1 267 | language stringclasses 231
values | license stringclasses 13
values | size int64 1 2.01M |
|---|---|---|---|---|---|
/*
* 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);... | 12319597-popup | sources/PopupLibrary/src/msg/PopupCanvassVoteMsg.cpp | C++ | lgpl | 880 |
#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... | 12319597-popup | sources/PopupLibrary/src/msg/PopupUserMessageReaction.cpp | C++ | lgpl | 1,454 |
/*
* 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... | 12319597-popup | sources/PopupLibrary/src/msg/PopupUserMessageReaction.hpp | C++ | lgpl | 1,022 |
#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,
... | 12319597-popup | sources/PopupLibrary/src/msg/PopupMessage.cpp | C++ | lgpl | 13,459 |
#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... | 12319597-popup | sources/PopupLibrary/src/msg/PopupBlowfishKeyMsg.cpp | C++ | lgpl | 960 |
/*
* 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... | 12319597-popup | sources/PopupLibrary/src/msg/PopupMessages.hpp | C++ | lgpl | 696 |
/*
* 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... | 12319597-popup | sources/PopupLibrary/src/msg/PopupKeepAliveMsg.hpp | C++ | lgpl | 568 |
#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... | 12319597-popup | sources/PopupLibrary/src/msg/PopupAttachmentMsg.cpp | C++ | lgpl | 1,875 |
#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... | 12319597-popup | sources/PopupLibrary/src/msg/PopupLoginMsg.hpp | C++ | lgpl | 1,087 |
#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),
... | 12319597-popup | sources/PopupLibrary/src/msg/PopupUserUpdateMsg.cpp | C++ | lgpl | 3,135 |
#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... | 12319597-popup | sources/PopupLibrary/include/PopupLibTypes.hpp | C++ | lgpl | 9,848 |
#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),
... | 12319597-popup | sources/PopupLibrary/include/PopupDatabaseUI.hpp | C++ | lgpl | 2,171 |
#ifndef __POPUP_CLIENT_UI_HPP__
#define __POPUP_CLIENT_UI_HPP__
#include <string>
#include "PopupLibTypes.hpp"
namespace Popup
{
//============================================================================
// API which a client UI shall implement
//===================================================... | 12319597-popup | sources/PopupLibrary/include/PopupClientUI.hpp | C++ | lgpl | 5,360 |
#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
//===================... | 12319597-popup | sources/PopupLibrary/include/PopupServerUI.hpp | C++ | lgpl | 1,599 |
BASEDIR = $(shell cd ../.. && pwd)
MODSDIR = $(BASEDIR)
LIBSDIR = $(BASEDIR)/3rdParty
CPPFLAGS = -I$(LIBSDIR)/openssl-1.0.0g/include \
-I$(MODSDIR)/PopupLoggerDefault \
-I$(MODSDIR)/PopupLibrary/include -g -ggdb
LDFLAGS = -L$(LIBSDIR)/openssl-1.0.0g -lcrypto -ldl
SRCS = testsecurity.cpp \
$... | 12319597-popup | sources/ProtoAndTests/TestSecurity/Makefile | Makefile | lgpl | 516 |
#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... | 12319597-popup | sources/ProtoAndTests/TestSecurity/testsecurity.cpp | C++ | lgpl | 5,730 |
#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, ...)
{
... | 12319597-popup | sources/ProtoAndTests/TestDefaultLogger/testlogger.cpp | C++ | lgpl | 1,509 |
all:
g++ testlogger.cpp ../../01-modules/logger/src/PopupDefaultLogger.cpp -I ../../01-modules/logger/include
| 12319597-popup | sources/ProtoAndTests/TestDefaultLogger/Makefile | Makefile | lgpl | 112 |
TEST_MODULES = $(shell find . -maxdepth 1 -mindepth 1 -type d)
all:
@for mod in $(TEST_MODULES) ; do \
echo ; \
echo "==========================================================";\
echo " TEST: $$(basename... | 12319597-popup | sources/ProtoAndTests/Makefile | Makefile | lgpl | 594 |
set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/3rdParty )
find_package(openssl REQUIRED)
find_package(crypto REQUIRED)
include_directories( ${PROJECT_SOURCE_DIR}/PopupLibOSAL/include )
include_directories( ${PROJECT_SOURCE_DIR}/PopupLibrary/include )
file( GLOB sources *.h *.c *.hpp *.cpp )
add_executable( PopupClient $... | 12319597-popup | sources/ProtoAndTests/PopupClient/CMakeLists.txt | CMake | lgpl | 498 |
#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) {}
/... | 12319597-popup | sources/ProtoAndTests/PopupClient/main.cpp | C++ | lgpl | 7,108 |
#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... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/TrayMenuBtn.cpp | C++ | lgpl | 2,221 |
#include "ResourceEntry.h"
using namespace std;
//======================================================
// Resource class methods
//======================================================
LPCTSTR ResourceEntry::getRandomImage()
{
if (m_imagesPath.size() == 0) return _T("");
srand( (unsigned)time( NULL )... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/ResourceEntry.cpp | C++ | lgpl | 944 |
//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... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/Version.cpp | C++ | lgpl | 876 |
// 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... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/ResizableLib/ResizableGrip.h | C++ | lgpl | 2,404 |
#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... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/ResizableLib/ResizableSheetEx.h | C++ | lgpl | 3,425 |
// 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... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/ResizableLib/ResizableLayout.cpp | C++ | lgpl | 14,908 |
// 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"... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/ResizableLib/ResizablePage.cpp | C++ | lgpl | 1,939 |
// 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... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/ResizableLib/ResizableMinMax.cpp | C++ | lgpl | 2,207 |
// 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... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/ResizableLib/ResizableFrame.cpp | C++ | lgpl | 2,926 |
#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... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/ResizableLib/ResizablePageEx.h | C++ | lgpl | 2,391 |
#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... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/ResizableLib/ResizableFormView.h | C++ | lgpl | 2,873 |
// 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... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/ResizableLib/ResizableState.cpp | C++ | lgpl | 3,048 |
// 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... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/ResizableLib/ResizableSheetEx.cpp | C++ | lgpl | 9,936 |
// 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... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/ResizableLib/ResizableMDIFrame.cpp | C++ | lgpl | 3,130 |
// 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... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/ResizableLib/ResizableLayout.h | C++ | lgpl | 5,426 |
#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
//... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/ResizableLib/ResizablePage.h | C++ | lgpl | 2,070 |
#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
//
/////////////////////////////////////////////////////... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/ResizableLib/ResizableFrame.h | C++ | lgpl | 2,347 |
#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... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/ResizableLib/ResizableDialog.h | C++ | lgpl | 2,777 |
// 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... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/ResizableLib/ResizableMDIChild.cpp | C++ | lgpl | 3,493 |
// 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... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/ResizableLib/ResizableGrip.cpp | C++ | lgpl | 7,725 |
#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
//
////////////////////////////////////////////... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/ResizableLib/ResizableMDIFrame.h | C++ | lgpl | 2,383 |
#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
//
////////////////////////////////////////////... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/ResizableLib/ResizableMDIChild.h | C++ | lgpl | 2,453 |
// 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... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/ResizableLib/ResizableState.h | C++ | lgpl | 1,167 |
#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 ... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/ResizableLib/ResizableSheet.h | C++ | lgpl | 3,158 |
// ResizableMsgSupport.h: some declarations 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 t... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/ResizableLib/ResizableMsgSupport.h | C | lgpl | 1,754 |
// 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... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/ResizableLib/ResizableDialog.cpp | C++ | lgpl | 3,955 |
// 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 ... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/ResizableLib/ResizableMsgSupport.inl | C++ | lgpl | 2,083 |
// 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... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/ResizableLib/ResizablePageEx.cpp | C++ | lgpl | 2,733 |
// 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... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/ResizableLib/ResizableFormView.cpp | C++ | lgpl | 4,822 |
// 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... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/ResizableLib/ResizableSheet.cpp | C++ | lgpl | 8,761 |
// 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... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/ResizableLib/ResizableMinMax.h | C++ | lgpl | 1,755 |
//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... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/Popup.cpp | C++ | lgpl | 12,872 |
; #####################################################################################################################
;
; MD4_asm.asm
;
; Copyright (c) Shareaza Development Team, 2002-2004.
; This file is part of SHAREAZA (www.shareaza.com)
;
; Shareaza is free software; you can redistribute it
; and/or modif... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/MD4_asm.asm | Assembly | lgpl | 14,233 |
#include "Logger.h"
#include <sstream>
#include <string>
#include <stdlib.h>
#include <stdio.h>
using namespace std;
//======================================================
// Logging utility
//======================================================
Logger::Logger(const string & outputDir /* = "" */)
: ... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/Logger.cpp | C++ | lgpl | 837 |
#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... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/PopupAutoModeThread.cpp | C++ | lgpl | 1,159 |
// ------------------------------------------------------------
// 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)
// ----------------------------------------------------------... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/DialogMinTrayBtn.cpp | C++ | lgpl | 14,440 |
#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... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/TaskbarNotifier.cpp | C++ | lgpl | 25,104 |
//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... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/EnBitmap.cpp | C++ | lgpl | 6,243 |
#include "stdafx.h"
| 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/Stdafx.cpp | C++ | lgpl | 27 |
//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... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/StringConversion.cpp | C++ | lgpl | 7,661 |
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by popup.rc
//
#define IDR_MANIFEST 1
#define IDC_STATUSBAR 100
#define IDD_POPUP_DIALOG 102
#define IDS_SOCKETS_INIT_FAILED 104
#define IDS_ABOUTBOX 105
... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/resource.h | C | lgpl | 71,310 |
//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... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/PopupThread.cpp | C++ | lgpl | 1,091 |
// 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... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/MyTabCtrl.cpp | C++ | lgpl | 3,996 |
#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();
... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/PopupPropertiesDlg.h | C++ | lgpl | 1,321 |
; #####################################################################################################################
;
; SHA_asm.asm
;
; Copyright (c) Shareaza Development Team, 2002-2004.
; This file is part of SHAREAZA (www.shareaza.com)
;
; Shareaza is free software; you can redistribute it
; and/or modif... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/SHA_asm.asm | Assembly | lgpl | 15,715 |
#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... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/PopupEventThread.cpp | C++ | lgpl | 1,488 |
#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;
... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/Options.cpp | C++ | lgpl | 4,787 |
#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... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/PopupServerThread.cpp | C++ | lgpl | 982 |
//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... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/PopupClientThread.cpp | C++ | lgpl | 2,615 |
// 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*/)
... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/PopupMainDialog.cpp | C++ | lgpl | 1,537 |
//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... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/OtherFunctions.cpp | C++ | lgpl | 8,846 |
// 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... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/PopupPropertiesDlg.cpp | C++ | lgpl | 10,126 |
//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... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/src/TrayDialog.cpp | C++ | lgpl | 8,150 |
//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... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/include/Debug_FileSize.h | C++ | lgpl | 8,400 |
#ifndef POPUP_MAIN_DIALOG_H
#define POPUP_MAIN_DIALOG_H
#include "MyTabCtrl.h"
#include "PopupClientInfo.h"
#include "PopupMessageInfo.h"
class CpopupDialog;
// PopupMainDialog dialog
class PopupMainDialog : public CDialog
{
DECLARE_DYNAMIC(PopupMainDialog)
public:
PopupMainDialog(CWnd* pParent =... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/include/PopupMainDialog.h | C++ | lgpl | 848 |
#if !defined(AFX_MYTABCTRL_H__F3E8650F_019C_479F_9E0F_60FE1181F49F__INCLUDED_)
#define AFX_MYTABCTRL_H__F3E8650F_019C_479F_9E0F_60FE1181F49F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MyTabCtrl.h : header file
//
class CSenderDialog;
class PopupHistoryDialog;
class PopupProper... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/include/MyTabCtrl.h | C++ | lgpl | 1,633 |
//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... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/include/PopupServerThread.h | C++ | lgpl | 1,140 |
#pragma once
typedef unsigned char uchar;
typedef unsigned char uint8;
typedef signed char sint8;
typedef unsigned short uint16;
typedef signed short sint16;
typedef unsigned int uint32;
typedef signed int sint32;
typedef unsigned __int64 uint64;
typedef signed __int64 sint64;
#ifdef ... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/include/types.h | C | lgpl | 477 |
// ------------------------------------------------------------
// BEGIN_MESSAGE_MAP_TEMPLATE
// MFC (VisualC++ 6/7) BEGIN_MESSAGE_MAP template compatibility
// ------------------------------------------------------------
// AfxBeginMsgMapTemplate.hpp
// ------------------------------------------------------------
... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/include/AfxBeginMsgMapTemplate.h | C | lgpl | 3,830 |
#ifndef C_SENDER_DIALOG_H
#define C_SENDER_DIALOG_H
#pragma once
#include "afxwin.h"
#include "afxcmn.h"
#include "PopupMessageInfo.h"
#include "PopupClientInfo.h"
#include "resource.h"
class CpopupApp;
// CSenderDialog dialog
class CSenderDialog : public CDialog
{
DECLARE_DYNAMIC(CSenderDialog)
... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/include/SenderDialog.h | C++ | lgpl | 2,005 |
#ifndef __VERSION_H__
#define __VERSION_H__
#if _MSC_VER > 1000
#pragma once
#endif
#ifndef _T
#define _T(x) x
#endif
#define _chSTR(x) _T(#x)
#define chSTR(x) _chSTR(x)
// *) Specify the version of popup only here with the following defines.
// *) When changing any of those version nr. defines you also have to r... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/include/Version.h | C | lgpl | 1,087 |
#ifndef RESOURCE_ENTRY_H
#define RESOURCE_ENTRY_H
#include "stdafx.h"
#include <CString>
#include <vector>
//===============================================================
// Resource entry representation (images and sounds)
//===============================================================
struct ResourceEntry
{
s... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/include/ResourceEntry.h | C++ | lgpl | 690 |
//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... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/include/PopupClientThread.h | C++ | lgpl | 1,451 |
//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... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/include/PopupEventThread.h | C++ | lgpl | 1,200 |
//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... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/include/StringConversion.h | C++ | lgpl | 5,672 |
#pragma once
/////////////////////////////////////////////////////////////////////////////
// CTrayMenuBtn window
class CTrayMenuBtn : public CWnd
{
public:
CTrayMenuBtn();
virtual ~CTrayMenuBtn();
bool m_bBold;
bool m_bMouseOver;
bool m_bNoHover;
bool m_bUseIcon;
bool m_bParentCapture;
UINT ... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/include/TrayMenuBtn.h | C++ | lgpl | 472 |
#pragma once
#include "DialogMinTrayBtn.h"
//#include "PopupSystrayDlg.h"
#include "ResizableDialog.h"
#define IDT_SINGLE_CLICK 100
class CTrayDialog : public CDialogMinTrayBtn<CResizableDialog>
{
protected:
typedef CDialogMinTrayBtn<CResizableDialog> CTrayDialogBase;
public:
CTrayDialog(UINT uIDD, CWnd* pParent =... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/include/TrayDialog.h | C++ | lgpl | 1,743 |
//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... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/include/otherfunctions.h | C++ | lgpl | 2,371 |
#pragma once
#ifdef _DEBUG
#define CATCH_DFLT_ALL(fname)
#else
#define CATCH_DFLT_ALL(fname) \
catch(...){ \
if (thePrefs.GetVerbose()) \
DebugLogError(LOG_STATUSBAR, _T("Unknown exception in ") fname); \
ASSERT(0); \
}
#endif
// This type of "last chance" exception handling is to be used at lea... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/include/Exceptions.h | C++ | lgpl | 1,888 |
#pragma once
class CEnBitmap : public CBitmap
{
public:
CEnBitmap();
virtual ~CEnBitmap();
BOOL LoadImage(LPCTSTR pszImagePath, COLORREF crBack = 0);
BOOL LoadImage(UINT uIDRes, LPCTSTR pszResourceType, HMODULE hInst = NULL, COLORREF crBack = 0);
BOOL LoadImage(LPCTSTR lpszResourceName, LPCTSTR pszR... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/include/EnBitmap.h | C++ | lgpl | 631 |
//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... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/include/popup.h | C++ | lgpl | 4,603 |
// ------------------------------------------------------------
// 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)
// ----------------------------------------------------------... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/include/DialogMinTrayBtn.h | C++ | lgpl | 2,948 |
#ifndef LOGGER_HPP
#define LOGGER_HPP
#include <sstream>
//===============================================================
// Logging utility
//===============================================================
struct Logger : public std::stringstream
{
std::string m_logFilePath;
bool m_enabled;
public:
Logger(cons... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/include/Logger.h | C++ | lgpl | 462 |
#pragma once
#include "afxcmn.h"
#include "Popup.h"
#include "PopupDlg.h"
#include "PopupMessageInfo.h"
#include <vector>
// PopupHistoryDialog dialog
class PopupHistoryDialog : public CDialog
{
DECLARE_DYNAMIC(PopupHistoryDialog)
public:
PopupHistoryDialog(CWnd* pParent = NULL); // standard constr... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/include/PopupHistoryDialog.h | C++ | lgpl | 1,044 |
#pragma once
/////////////////////////////////////////////////////////////////////////////////////////
///PopupAutoModeThread
class PopupAutoModeThread : public CWinThread
{
public:
DECLARE_DYNCREATE(PopupAutoModeThread)
protected:
PopupAutoModeThread() {}
public:
virtual BOOL InitInstance();
virtual... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/include/PopupAutoModeThread.h | C++ | lgpl | 337 |
// CTaskbarNotifier Header file
// By John O'Byrne - 15 July 2002
// Modified by kei-kun
#pragma once
#define TN_TEXT_NORMAL 0x0000
#define TN_TEXT_BOLD 0x0001
#define TN_TEXT_ITALIC 0x0002
#define TN_TEXT_UNDERLINE 0x0004
//START - enkeyDEV(kei-kun) -TaskbarNotifier-
enum TbnMsg {
TBN_NONOTIFY,
... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/include/TaskbarNotifier.h | C++ | lgpl | 3,928 |
//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... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/include/popupDlg.h | C++ | lgpl | 3,389 |
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#pragma once
#ifndef VC_EXTRALEAN
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
#endif
#include <popup_site_config.h>
// MSDN: Usi... | 12319597-popup | sources/ProtoAndTests/PopupClientMFC/include/stdafx.h | C | lgpl | 8,975 |
BASEDIR = $(shell cd ../.. && pwd)
MODSDIR = $(BASEDIR)/01-modules
LIBSDIR = $(BASEDIR)/03-libraries
CPPFLAGS = -I$(LIBSDIR)/openssl-1.0.0g/include \
-I$(LIBSDIR)/libsqlite3 \
-I$(MODSDIR)/logger/include \
-I$(MODSDIR)/database/include
LDFLAGS = -L$(LIBSDIR)/openssl-1.0.0g -lcry... | 12319597-popup | sources/ProtoAndTests/TestSqlite3Database/Makefile | Makefile | lgpl | 790 |