File indexing completed on 2024-04-28 04:43:32
0001 // This is an example not a library 0002 /* 0003 SPDX-FileCopyrightText: 2008 Daniel Nicoletti <dantti85-pk@yahoo.com.br> 0004 SPDX-FileCopyrightText: 2009 Radek Novacek <rnovacek@redhat.com> 0005 0006 SPDX-License-Identifier: GPL-2.0-or-later 0007 */ 0008 0009 #ifndef PKAGENTEXAMPLE_H 0010 #define PKAGENTEXAMPLE_H 0011 0012 #define POLKIT_AGENT_I_KNOW_API_IS_SUBJECT_TO_CHANGE 1 0013 0014 #include <QCoreApplication> 0015 #include "klistener.h" 0016 0017 class PkAgentExample : public QCoreApplication 0018 { 0019 Q_OBJECT 0020 public: 0021 PkAgentExample(int &argc, char **argv); 0022 ~PkAgentExample() override {}; 0023 private: 0024 KListener m_listener; 0025 }; 0026 0027 0028 #endif