Add '_p' into the names of private headers and do not install them.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/1/head
Slávek Banko 3 years ago
parent d47d7882d7
commit 27ea6ede3c
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -30,8 +30,6 @@ install(
FILES FILES
polkit-tqt-agent-session.h polkit-tqt-agent-session.h
polkit-tqt-agent-listener.h polkit-tqt-agent-listener.h
listeneradapter.h
polkit-tqt-listener.h
DESTINATION ${INCLUDE_INSTALL_DIR} DESTINATION ${INCLUDE_INSTALL_DIR}
) )

@ -21,7 +21,7 @@
#define POLKIT_AGENT_I_KNOW_API_IS_SUBJECT_TO_CHANGE 1 #define POLKIT_AGENT_I_KNOW_API_IS_SUBJECT_TO_CHANGE 1
#include <polkitagent/polkitagent.h> #include <polkitagent/polkitagent.h>
#include "listeneradapter.h" #include "listeneradapter_p.h"
namespace PolkitTQt namespace PolkitTQt
@ -130,5 +130,4 @@ void ListenerAdapter::removeListener(Listener *listener)
} }
#include "listeneradapter.moc" #include "listeneradapter_p.moc"

@ -90,4 +90,3 @@ class ListenerAdapter : public TQObject
} }
#endif #endif

@ -18,7 +18,7 @@
* Boston, MA 02110-1301, USA. * Boston, MA 02110-1301, USA.
*/ */
#include "polkit-tqt-listener.h" #include "polkit-tqt-listener_p.h"
#include "polkit-tqt-agent-listener.h" #include "polkit-tqt-agent-listener.h"
#include "polkit-tqt-authority.h" #include "polkit-tqt-authority.h"

@ -20,7 +20,7 @@
* polkit-tqt-listener based on code by David Zeuthen <davidz@redhat.com> * polkit-tqt-listener based on code by David Zeuthen <davidz@redhat.com>
*/ */
#include "polkit-tqt-listener.h" #include "polkit-tqt-listener_p.h"
#include <stdio.h> #include <stdio.h>
@ -108,4 +108,3 @@ static gboolean polkit_tqt_listener_initiate_authentication_finish(PolkitAgentLi
return ListenerAdapter::instance()->polkit_tqt_listener_initiate_authentication_finish(listener, return ListenerAdapter::instance()->polkit_tqt_listener_initiate_authentication_finish(listener,
res, error); res, error);
} }

@ -26,7 +26,7 @@
#define POLKIT_AGENT_I_KNOW_API_IS_SUBJECT_TO_CHANGE 1 #define POLKIT_AGENT_I_KNOW_API_IS_SUBJECT_TO_CHANGE 1
#include <polkitagent/polkitagent.h> #include <polkitagent/polkitagent.h>
#include "listeneradapter.h" #include "listeneradapter_p.h"
G_BEGIN_DECLS G_BEGIN_DECLS
@ -52,4 +52,3 @@ PolkitAgentListener *polkit_tqt_listener_new(void);
G_END_DECLS G_END_DECLS
#endif #endif
Loading…
Cancel
Save