summaryrefslogtreecommitdiff
authoreilers <eilers>2004-07-18 12:54:22 (UTC)
committer eilers <eilers>2004-07-18 12:54:22 (UTC)
commit2d2e1091b0da1a1f2b1031969d5be0bf25446021 (patch) (side-by-side diff)
tree64bebe0415c650503211ebd839505f9cd15d0ade
parent4542dd2fd841179a064af1865b0701bdab7eaaf5 (diff)
downloadopie-2d2e1091b0da1a1f2b1031969d5be0bf25446021.zip
opie-2d2e1091b0da1a1f2b1031969d5be0bf25446021.tar.gz
opie-2d2e1091b0da1a1f2b1031969d5be0bf25446021.tar.bz2
Really remove useless code ..
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiecore/opluginloader.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/libopie2/opiecore/opluginloader.h b/libopie2/opiecore/opluginloader.h
index 7582d29..d97f586 100644
--- a/libopie2/opiecore/opluginloader.h
+++ b/libopie2/opiecore/opluginloader.h
@@ -1,69 +1,67 @@
/*
* LGPLv2 or later
* zecke@handhelds.org
*/
#ifndef ODP_CORE_OPLUGIN_LOADER_H
#define ODP_CORE_OPLUGIN_LOADER_H
#include <qpe/qlibrary.h>
#include <qptrdict.h>
#include <qstringlist.h>
namespace Opie {
namespace Core {
class OConfig;
namespace Internal {
class OPluginLibraryHolder;
}
-// template class QPtrDict<QLibrary>;
-
/**
* \brief A small item representing the Plugin Information
* This class contains the information about a Plugin. It contains
* a translated name if available to the system, a config key,
* and the path location.
*
* @since 1.2
*
*/
class OPluginItem {
public:
typedef QValueList<OPluginItem> List;
OPluginItem();
OPluginItem( const QString& name, const QString& path, bool enabled = true, int pos = -1 );
~OPluginItem();
bool isEmpty()const;
bool operator==( const OPluginItem& )const;
bool operator!=( const OPluginItem& )const;
QString name()const;
QString path()const;
bool isEnabled()const;
int position()const;
void setName( const QString& );
void setPath( const QString& );
void setEnabled( bool );
void setPosition( int );
private:
QString m_name;
QString m_path;
bool m_enabled : 1;
int m_pos;
struct Private;
Private *d;
};
/**
* \brief A generic class to easily load and manage plugins
*
* This is the generic non sepcialised loader for plugins. Normally
* you would prefer using the OPluginLoader directly. This class
* exists to minimize the application binary size due the usage
* of templates in the specialized API