* 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
26 lines
625 B
C++
26 lines
625 B
C++
#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
|