~siretart/ubuntu/utopic/blender/libav10

« back to all changes in this revision

Viewing changes to intern/ghost/GHOST_Path-api.h

  • Committer: Package Import Robot
  • Author(s): Matteo F. Vescovi
  • Date: 2012-07-23 08:54:18 UTC
  • mfrom: (14.2.16 sid)
  • mto: (14.2.19 sid)
  • mto: This revision was merged to the branch mainline in revision 42.
  • Revision ID: package-import@ubuntu.com-20120723085418-9foz30v6afaf5ffs
Tags: 2.63a-2
* debian/: Cycles support added (Closes: #658075)
  For now, this top feature has been enabled only
  on [any-amd64 any-i386] architectures because
  of OpenImageIO failing on all others
* debian/: scripts installation path changed
  from /usr/lib to /usr/share:
  + debian/patches/: patchset re-worked for path changing
  + debian/control: "Breaks" field added on yafaray-exporter

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/**
2
 
 * $Id: GHOST_Path-api.h 30004 2010-07-05 19:59:37Z damien78 $
3
 
 *
 
1
/*
4
2
 * ***** BEGIN GPL LICENSE BLOCK *****
5
3
 *
6
4
 * This program is free software; you can redistribute it and/or
27
25
 * ***** END GPL LICENSE BLOCK *****
28
26
 */
29
27
 
30
 
#ifndef GHOST_PATH_API_H
31
 
#define GHOST_PATH_API_H
 
28
/** \file ghost/GHOST_Path-api.h
 
29
 *  \ingroup GHOST
 
30
 */
 
31
 
 
32
 
 
33
#ifndef __GHOST_PATH_API_H__
 
34
#define __GHOST_PATH_API_H__
32
35
 
33
36
#include "GHOST_Types.h"
34
37
 
36
39
extern "C" { 
37
40
#endif
38
41
 
 
42
GHOST_DECLARE_HANDLE(GHOST_SystemPathsHandle);
 
43
 
 
44
/**
 
45
 * Creates the one and only instance of the system path access.
 
46
 * @return An indication of success.
 
47
 */
 
48
extern GHOST_TSuccess GHOST_CreateSystemPaths(void);
 
49
 
 
50
/**
 
51
 * Disposes the one and only system.
 
52
 * @return An indication of success.
 
53
 */
 
54
extern GHOST_TSuccess GHOST_DisposeSystemPaths(void);
 
55
 
39
56
/**
40
57
 * Determine the base dir in which shared resources are located. It will first try to use
41
58
 * "unpack and run" path, then look for properly installed path, not including versioning.
42
59
 * @return Unsigned char string pointing to system dir (eg /usr/share/blender/).
43
60
 */
44
 
extern const GHOST_TUns8* GHOST_getSystemDir();
 
61
extern const GHOST_TUns8* GHOST_getSystemDir(void);
45
62
 
46
63
/**
47
64
 * Determine the base dir in which user configuration is stored, not including versioning.
48
65
 * @return Unsigned char string pointing to user dir (eg ~).
49
66
 */
50
 
extern const GHOST_TUns8* GHOST_getUserDir();
 
67
extern const GHOST_TUns8* GHOST_getUserDir(void);
51
68
 
52
69
 
53
70
/**
54
71
 * Determine the dir in which the binary file is found.
55
72
 * @return Unsigned char string pointing to binary dir (eg ~/usr/local/bin/).
56
73
 */
57
 
extern const GHOST_TUns8* GHOST_getBinaryDir();
 
74
extern const GHOST_TUns8* GHOST_getBinaryDir(void);
 
75
 
 
76
/**
 
77
* Add the file to the operating system most recently used files
 
78
*/
 
79
extern void GHOST_addToSystemRecentFiles(const char* filename);
58
80
 
59
81
#ifdef __cplusplus
60
82