Back to index

easystroke  0.5.5.1
Typedefs | Functions | Variables
main.h File Reference
#include <string>
#include <X11/X.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct _XDisplay

Functions

bool is_file (std::string filename)
bool is_dir (std::string dirname)

Variables

std::string config_dir
const char * prefs_versions []
const char * actions_versions []
int verbosity
bool experimental
Display * dpy
Window ROOT
Winwin

Typedef Documentation

typedef struct _XDisplay

Definition at line 33 of file main.h.


Function Documentation

bool is_dir ( std::string  dirname)

Definition at line 1736 of file main.cc.

                               {
       struct stat st;
       return lstat(dirname.c_str(), &st) != -1 && S_ISDIR(st.st_mode);
}

Here is the caller graph for this function:

bool is_file ( std::string  filename)

Definition at line 1731 of file main.cc.

                                 {
       struct stat st;
       return lstat(filename.c_str(), &st) != -1 && S_ISREG(st.st_mode);
}

Here is the caller graph for this function:


Variable Documentation

const char* actions_versions[]

Definition at line 49 of file main.cc.

std::string config_dir

Definition at line 51 of file main.cc.

Display* dpy

Definition at line 53 of file main.cc.

Definition at line 46 of file main.cc.

const char* prefs_versions[]

Definition at line 48 of file main.cc.

Window ROOT

Definition at line 54 of file main.cc.

int verbosity

Definition at line 47 of file main.cc.

Win* win

Definition at line 52 of file main.cc.