compatibility with new notification method: added a rsicontrol global variable

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1055 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2009-02-26 14:10:26 +00:00
parent 23a617dca4
commit 55653325d1

View File

@ -46,6 +46,8 @@
* The startup routine's are defined in rsiface.h * The startup routine's are defined in rsiface.h
*/ */
RsControl *rsicontrol ;
int main(int argc, char **argv) int main(int argc, char **argv)
{ {
/* Retroshare startup is configured using an RsInit object. /* Retroshare startup is configured using an RsInit object.
@ -93,6 +95,8 @@ int main(int argc, char **argv)
/* Start-up libretroshare server threads */ /* Start-up libretroshare server threads */
rsServer -> StartupRetroShare(); rsServer -> StartupRetroShare();
rsicontrol = rsServer ;
RsInit::passwd = "" ; RsInit::passwd = "" ;
//CleanupRsConfig(config); //CleanupRsConfig(config);