aboutsummaryrefslogtreecommitdiff
path: root/sc4pd/headers/lang/libraryConfig.h
blob: b1f38446d304f4c10f2b30d04062f0b2db3e514d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Copyright 2003 Maurizio Umberto Puxeddu

#ifndef _Supercollider_libraryConfig_h_
#define _Supercollider_libraryConfig_h_

class LibraryConfig {
 public:
  LibraryConfig(void);
  virtual ~LibraryConfig();
  
  char **includedDirectories(void);
  char **excludedDirectories(void);

  void postExcludedDirectories(void);
  bool forEachIncludedDirectory(bool (*func)(char *, int));

  bool pathIsExcluded(const char *path);

  void addIncludedDirectory(char *name);
  void addExcludedDirectory(char *name);

 private:
  int m_nIncludedDirectories;
  char **m_includedDirectories;
  int m_nExcludedDirectories;
  char **m_excludedDirectories;
};

extern char *unixStandardizePath(const char *path, char *newpath);

#endif // _Supercollider_libraryConfig_h_