|
a/src/internfile/internfile.h |
|
b/src/internfile/internfile.h |
|
... |
|
... |
32 |
// including this needs autoconfig.h
|
32 |
// including this needs autoconfig.h
|
33 |
#include "autoconfig.h"
|
33 |
#include "autoconfig.h"
|
34 |
|
34 |
|
35 |
class RclConfig;
|
35 |
class RclConfig;
|
36 |
namespace Rcl {
|
36 |
namespace Rcl {
|
37 |
class Doc;
|
37 |
class Doc;
|
38 |
}
|
38 |
}
|
39 |
|
39 |
|
40 |
struct stat;
|
40 |
struct stat;
|
41 |
|
41 |
|
42 |
/** Storage for missing helper program info. We want to keep this out of the
|
42 |
/** Storage for missing helper program info. We want to keep this out of the
|
|
... |
|
... |
45 |
* may be several separate usages of the class which shouldn't mix
|
45 |
* may be several separate usages of the class which shouldn't mix
|
46 |
* their data).
|
46 |
* their data).
|
47 |
*/
|
47 |
*/
|
48 |
class FIMissingStore {
|
48 |
class FIMissingStore {
|
49 |
public:
|
49 |
public:
|
|
|
50 |
FIMissingStore() {}
|
|
|
51 |
FIMissingStore(const string& in);
|
|
|
52 |
virtual ~FIMissingStore() {}
|
|
|
53 |
virtual void addMissing(const string& prog, const string& mt)
|
|
|
54 |
{
|
|
|
55 |
m_typesForMissing[prog].insert(mt);
|
|
|
56 |
}
|
|
|
57 |
// Get simple progs list string
|
|
|
58 |
virtual void getMissingExternal(string& out);
|
|
|
59 |
// Get progs + assoc mtypes description string
|
|
|
60 |
virtual void getMissingDescription(string& out);
|
|
|
61 |
|
50 |
// Missing external programs
|
62 |
// Missing external programs
|
51 |
set<string> m_missingExternal;
|
|
|
52 |
map<string, set<string> > m_typesForMissing;
|
63 |
map<string, set<string> > m_typesForMissing;
|
53 |
};
|
64 |
};
|
54 |
|
65 |
|
55 |
/**
|
66 |
/**
|
56 |
* A class to convert data from a datastore (file-system, firefox
|
67 |
* A class to convert data from a datastore (file-system, firefox
|