src: refactored lib/utility
* removed unused utilityMath * removed some unused functions from utility * moved time related utility functions to TimeStamp * moved path objects from utility to app/paths * moved objects in lib to lib/app * removed duplicate confirm methods in DialogView * moved utilityFile to utility/file * removed uint typedef and replaced with size_t everywhere * removed boost header in utilityUuid
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
#ifndef LANGUAGE_PACKAGE_MANAGER_H
|
||||
#define LANGUAGE_PACKAGE_MANAGER_H
|
||||
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
class IndexerComposite;
|
||||
class LanguagePackage;
|
||||
|
||||
class LanguagePackageManager
|
||||
{
|
||||
public:
|
||||
static std::shared_ptr<LanguagePackageManager> getInstance();
|
||||
static void destroyInstance();
|
||||
|
||||
void addPackage(std::shared_ptr<LanguagePackage> package);
|
||||
std::shared_ptr<IndexerComposite> instantiateSupportedIndexers();
|
||||
|
||||
private:
|
||||
static std::shared_ptr<LanguagePackageManager> s_instance;
|
||||
LanguagePackageManager() = default;
|
||||
|
||||
std::vector<std::shared_ptr<LanguagePackage>> m_packages;
|
||||
};
|
||||
|
||||
#endif // LANGUAGE_PACKAGE_MANAGER_H
|
||||
Reference in New Issue
Block a user