System dependant functions (skeletons) to retrieve user and system base dirs.
[blender.git] / intern / ghost / intern / GHOST_C-api.cpp
index 6a9c59bc897b8bbbeac1f6514558a15007ba43de..fd06d7620ab485252bfd94269cb93ef2c4a9ceb3 100644 (file)
@@ -855,3 +855,14 @@ void GHOST_putClipboard(GHOST_TInt8 *buffer, int selection)
        system->putClipboard(buffer, selection);
 }
 
+GHOST_TUns8* GHOST_getSystemDir()
+{
+       GHOST_ISystem* system = GHOST_ISystem::getSystem();
+       return system->getSystemDir();
+}
+
+GHOST_TUns8* GHOST_getUserDir()
+{
+       GHOST_ISystem* system = GHOST_ISystem::getSystem();
+       return system->getUserDir();
+}