#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[]) |
Definition in file main.cpp.
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().