1
0
Fork 0

In progress...

This commit is contained in:
Kolan Sh 2016-04-03 16:51:24 +03:00
parent 62717b85b3
commit 3fe8c2cf27
1 changed files with 0 additions and 32 deletions

View File

@ -1,32 +0,0 @@
extern static char SO_PATH[256];
/*namespace LAview.Core {
class AppDirs {
public static File so_path;
public static File exec_dir;
public static File common_dir;
public static string data_plugins_dir;
public static string object_plugins_dir;
public static string ui_dir;
public static string settings_dir;
public static void init () {
so_path = File.new_for_path ((string)SO_PATH);
exec_dir = so_path.get_parent ();
common_dir = exec_dir.get_parent ();
ui_dir = Path.build_path (Path.DIR_SEPARATOR_S, common_dir.get_path(),
"share/laview-core-"+Config.VERSION_MAJOR.to_string()+"/ui");
settings_dir = Path.build_path (Path.DIR_SEPARATOR_S, common_dir.get_path(), "share/glib-2.0/schemas");
data_plugins_dir = Path.build_path (Path.DIR_SEPARATOR_S, exec_dir.get_path(),
"laview-core-"+Config.VERSION_MAJOR.to_string()+"/data-plugins");
object_plugins_dir = Path.build_path (Path.DIR_SEPARATOR_S, exec_dir.get_path(),
"laview-core-"+Config.VERSION_MAJOR.to_string()+"/object-plugins");
}
public static void terminate () {
}
}
}*/