#include "../config.h"
#include "../version.h"
#include <assert.h>
#include <unistd.h>
#include <stdlib.h>
#include <X11/Xlib.h>
#include <iostream>
#include <string>
#include <sstream>
#include <map>
#include "ncwm.h"
#include "loader.h"
#include "util.h"
#include "kernel.h"
Include dependency graph for main.cpp:
Go to the source code of this file.
Functions | |
static void | version () |
static void | usage () |
Display * | openDisplay (const char *displayName) |
static bool | loadSettings (MSettings *settings, string filename, const char *home, bool suppressWarning=false, bool caseSensitive=false) |
static MSettings * | initThemeSettings () |
static MSettings * | initCommonSettings () |
static MSettings * | initActionSettings () |
static MSettings * | initSessionSettings (Display *display) |
int | main (int argc, char *argv[]) |
static MSettings* initActionSettings | ( | ) | [static] |
static MSettings* initCommonSettings | ( | ) | [static] |
static MSettings* initSessionSettings | ( | Display * | display | ) | [static] |
static MSettings* initThemeSettings | ( | ) | [static] |
static bool loadSettings | ( | MSettings * | settings, | |
string | filename, | |||
const char * | home, | |||
bool | suppressWarning = false , |
|||
bool | caseSensitive = false | |||
) | [static] |
Definition at line 63 of file main.cpp.
References CONFPATH, Loader::load(), and Util::timestamp().
Referenced by main().
Here is the call graph for this function:
int main | ( | int | argc, | |
char * | argv[] | |||
) |
Definition at line 276 of file main.cpp.
References initActionSettings(), initCommonSettings(), initSessionSettings(), initThemeSettings(), Singleton< Kernel >::instance(), loadSettings(), openDisplay(), Kernel::saveSettings(), Loader::saveSettings(), Kernel::start(), Util::timestamp(), usage(), and version().
Here is the call graph for this function:
Display* openDisplay | ( | const char * | displayName | ) |
Definition at line 43 of file main.cpp.
References Util::timestamp().
Referenced by main().
Here is the call graph for this function: