MeVisLab Toolbox Reference
macBackup.h
Go to the documentation of this file.
1 /*************************************************************************************
2 **
3 ** Copyright 2008, MeVis Medical Solutions AG
4 **
5 ** The user may use this file in accordance with the license agreement provided with
6 ** the Software or, alternatively, in accordance with the terms contained in a
7 ** written agreement between the user and MeVis Medical Solutions AG.
8 **
9 ** For further information use the contact form at https://www.mevislab.de/contact
10 **
11 **************************************************************************************/
12 
13 #ifndef MAC_BACKUP_H
14 #define MAC_BACKUP_H
15 
17 
18 #if defined(__APPLE__)
19 
21 #include <string>
22 
23 namespace macos {
24 
27  {
28  public:
29 
31 
36  static bool setItemExcluded(const std::string &item, bool exclude = true);
37 
39 
44  static bool setPathExcluded(const std::string &path, bool exclude = true);
45  };
46 
47 }
48 
49 #endif // __APPLE__
50 #endif // __macBackup_H
Backup related functions.
Definition: macBackup.h:27
static bool setItemExcluded(const std::string &item, bool exclude=true)
Includes or excludes an existing item from the backup (UTF8)
static bool setPathExcluded(const std::string &path, bool exclude=true)
Includes or excludes a path from the backup (UTF8)
#define OSXSUPPORT_PUBLIC_API
Symbol visibility macros.
AppleScript support.