Plugin.h
1//-*-C++-*-
2/***************************************************************************
3 *
4 * Copyright (C) 2003 by Willem van Straten
5 * Licensed under the Academic Free License version 2.1
6 *
7 ***************************************************************************/
8
9// psrchive/Util/genutil/Plugin.h
10
11#ifndef __Plugin_h
12#define __Plugin_h
13
14#include <vector>
15#include <string>
16
17namespace Registry {
18
19 class Plugin {
20
21 public:
23 static bool verbose;
24
26 Plugin () { }
27
28#if DSO_OK
29
31 Plugin (const char* path) { load (path); }
32
34 void load (const char* path);
35
37 void load (const std::string& path) { load (path.c_str()); }
38
39#endif
40
42 std::vector<std::string> ok;
43
45 std::vector<std::string> fail;
46
47 };
48
49}
50
51#endif

Generated using doxygen 1.14.0