main.cpp File Reference

Main Vidalia entry point. More...

#include <QObject>
#include <vidalia.h>
#include <gui/mainwindow.h>
#include <gui/common/vmessagebox.h>
#include <util/process.h>
#include <util/string.h>

Go to the source code of this file.

Functions

bool is_vidalia_running (QString pidfile)
int main (int argc, char *argv[])


Detailed Description

Main Vidalia entry point.

Version:
Id
main.cpp 1257 2006-10-02 00:33:50Z edmanm

Definition in file main.cpp.


Function Documentation

bool is_vidalia_running ( QString  pidfile  ) 

Returns true if there is already another Vidalia process running.

Definition at line 38 of file main.cpp.

References is_process_running(), and read_pidfile().

Referenced by main().

int main ( int  argc,
char *  argv[] 
)

Main application entry point.

Definition at line 50 of file main.cpp.

References char_array_to_stringlist(), VMessageBox::critical(), is_vidalia_running(), VMessageBox::Ok, Vidalia::pidFile(), Vidalia::printUsage(), Vidalia::validateArguments(), and write_pidfile().


Generated on Mon Oct 23 20:08:16 2006 for Vidalia by  doxygen 1.5.0