// -*- c++ -*- #ifndef DCOPIFACEDEMO_H #define DCOPIFACEDEMO_H #include /** * Adding DCOP interface to the Console. * */ struct EnumSecretList { // struct SecretInfo *sInfo; char *walletName; char *folderName; int entryType; char *secretVal; struct EnumSecretList *next; }; class DCOPDemoWidget : public QObject { Q_OBJECT public: DCOPDemoWidget(); ~DCOPDemoWidget(); public slots: int ReadAllWalletSecrets(struct EnumSecretList **); private: int ReadKey(Wallet *, QString, QByteArray*); }; #endif