Allow building as monolithic app (no plugins) for easier developement.
[tagua.git] / src / core / variantloader.h
blob9b3fc0f8763b15780b6dbec4b71caedd65f168c6
1 /*
2 Copyright (c) 2007 Paolo Capriotti <p.capriotti@gmail.com>
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
8 */
10 #ifndef VARIANTLOADER_H
11 #define VARIANTLOADER_H
13 #include <QString>
14 #include "export.h"
16 class Repository;
18 class TAGUA_EXPORT IVariantLoader {
19 public:
20 virtual ~IVariantLoader();
22 /**
23 * \return a list of all non-hidden variants.
25 virtual QStringList all() const = 0;
27 /**
28 * \return a pointer on the component repository for variant.
30 virtual Repository* getRepository(const QString& variant) = 0;
33 #endif // VARIANTLOADER_H