mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-27 00:15:51 -04:00
removed old code in rsiface/p3face
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8114 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
32d1bd7b04
commit
e9b722a732
4 changed files with 0 additions and 91 deletions
|
@ -60,18 +60,9 @@ class RsControl /* The Main Interface Class - for controlling the server */
|
||||||
/* Real Startup Fn */
|
/* Real Startup Fn */
|
||||||
virtual int StartupRetroShare() = 0;
|
virtual int StartupRetroShare() = 0;
|
||||||
|
|
||||||
/****************************************/
|
|
||||||
|
|
||||||
/* Flagging Persons / Channels / Files in or out of a set (CheckLists) */
|
|
||||||
virtual int SetInBroadcast(std::string id, bool in) = 0; /* channel : channel broadcast */
|
|
||||||
virtual int SetInSubscribe(std::string id, bool in) = 0; /* channel : subscribed channels */
|
|
||||||
virtual int ClearInBroadcast() = 0;
|
|
||||||
virtual int ClearInSubscribe() = 0;
|
|
||||||
|
|
||||||
/****************************************/
|
/****************************************/
|
||||||
/* Config */
|
/* Config */
|
||||||
|
|
||||||
virtual int ConfigSetBootPrompt( bool on ) = 0;
|
|
||||||
virtual void ConfigFinalSave( ) = 0;
|
virtual void ConfigFinalSave( ) = 0;
|
||||||
virtual void rsGlobalShutDown( ) = 0;
|
virtual void rsGlobalShutDown( ) = 0;
|
||||||
|
|
||||||
|
|
|
@ -60,12 +60,6 @@ const int p3facemsgzone = 11453;
|
||||||
/* RsIface Config */
|
/* RsIface Config */
|
||||||
/* Config */
|
/* Config */
|
||||||
|
|
||||||
int RsServer::ConfigSetBootPrompt( bool /*on*/ )
|
|
||||||
{
|
|
||||||
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
void RsServer::ConfigFinalSave()
|
void RsServer::ConfigFinalSave()
|
||||||
{
|
{
|
||||||
/* force saving of transfers TODO */
|
/* force saving of transfers TODO */
|
||||||
|
|
|
@ -1,60 +0,0 @@
|
||||||
|
|
||||||
/*
|
|
||||||
* "$Id: p3face-msgs.cc,v 1.7 2007-05-05 16:10:06 rmf24 Exp $"
|
|
||||||
*
|
|
||||||
* RetroShare C++ Interface.
|
|
||||||
*
|
|
||||||
* Copyright 2004-2006 by Robert Fernie.
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Library General Public
|
|
||||||
* License Version 2 as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* This library 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
|
|
||||||
* Library General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Library General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
|
||||||
* USA.
|
|
||||||
*
|
|
||||||
* Please report all bugs and problems to "retroshare@lunamutt.com".
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
#include "rsserver/p3face.h"
|
|
||||||
#include "util/rsdir.h"
|
|
||||||
|
|
||||||
#include <iostream>
|
|
||||||
|
|
||||||
#include "util/rsdebug.h"
|
|
||||||
const int p3facemsgzone = 11453;
|
|
||||||
|
|
||||||
#include <sys/time.h>
|
|
||||||
#include <time.h>
|
|
||||||
|
|
||||||
|
|
||||||
/* Flagging Persons / Channels / Files in or out of a set (CheckLists) */
|
|
||||||
|
|
||||||
int RsServer::ClearInBroadcast()
|
|
||||||
{
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
int RsServer::ClearInSubscribe()
|
|
||||||
{
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
int RsServer::SetInBroadcast(std::string /*id*/, bool /*in*/) /* channel : channel broadcast */
|
|
||||||
{
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
int RsServer::SetInSubscribe(std::string /*id*/, bool /*in*/) /* channel : subscribed channels */
|
|
||||||
{
|
|
||||||
return 1;
|
|
||||||
}
|
|
|
@ -110,21 +110,6 @@ class RsServer: public RsControl, public RsThread
|
||||||
/* mutex */
|
/* mutex */
|
||||||
RsMutex coreMutex;
|
RsMutex coreMutex;
|
||||||
|
|
||||||
/* General Internal Helper Functions
|
|
||||||
(Must be Locked)
|
|
||||||
*/
|
|
||||||
|
|
||||||
/****************************************/
|
|
||||||
/****************************************/
|
|
||||||
/* p3face-msg Operations */
|
|
||||||
|
|
||||||
public:
|
|
||||||
/* Flagging Persons / Channels / Files in or out of a set (CheckLists) */
|
|
||||||
virtual int SetInBroadcast(std::string id, bool in); /* channel : channel broadcast */
|
|
||||||
virtual int SetInSubscribe(std::string id, bool in); /* channel : subscribed channels */
|
|
||||||
virtual int ClearInBroadcast();
|
|
||||||
virtual int ClearInSubscribe();
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
/****************************************/
|
/****************************************/
|
||||||
|
@ -134,7 +119,6 @@ class RsServer: public RsControl, public RsThread
|
||||||
public:
|
public:
|
||||||
/* Config */
|
/* Config */
|
||||||
|
|
||||||
virtual int ConfigSetBootPrompt( bool on );
|
|
||||||
virtual void ConfigFinalSave( );
|
virtual void ConfigFinalSave( );
|
||||||
virtual void startServiceThread(RsThread *t) ;
|
virtual void startServiceThread(RsThread *t) ;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue