You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
2.1 KiB
56 lines
2.1 KiB
3 years ago
|
/*
|
||
3 years ago
|
* This file is part of the Polkit-tqt project
|
||
3 years ago
|
* Copyright (C) 2009 Jaroslav Reznik <jreznik@redhat.com>
|
||
|
*
|
||
|
* This library is free software; you can redistribute it and/or
|
||
|
* modify it under the terms of the GNU Library General Public
|
||
|
* License as published by the Free Software Foundation; either
|
||
|
* version 2 of the License, or (at your option) any later version.
|
||
|
*
|
||
|
* This library is distributed in the hope that it will be useful,
|
||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||
|
* Library General Public License for more details.
|
||
|
*
|
||
|
* You should have received a copy of the GNU Library General Public License
|
||
|
* along with this library; see the file COPYING.LIB. If not, write to
|
||
|
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||
|
* Boston, MA 02110-1301, USA.
|
||
|
*
|
||
3 years ago
|
* polkit-tqt-listener based on code by David Zeuthen <davidz@redhat.com>
|
||
3 years ago
|
*/
|
||
|
|
||
3 years ago
|
#ifndef POLKIT_TQT_LISTENER_P_H
|
||
|
#define POLKIT_TQT_LISTENER_P_H
|
||
3 years ago
|
|
||
|
#define POLKIT_AGENT_I_KNOW_API_IS_SUBJECT_TO_CHANGE 1
|
||
3 years ago
|
#include <polkitagent/polkitagent.h>
|
||
3 years ago
|
|
||
3 years ago
|
#include "listeneradapter.h"
|
||
3 years ago
|
|
||
|
|
||
|
G_BEGIN_DECLS
|
||
|
|
||
3 years ago
|
#define POLKIT_TQT_TYPE_LISTENER (polkit_tqt_listener_get_type())
|
||
3 years ago
|
#define POLKIT_TQT_LISTENER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), \
|
||
|
POLKIT_TQT_TYPE_LISTENER, PolkitTQtListener))
|
||
|
#define POLKIT_TQT_LISTENER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), \
|
||
|
POLKIT_TQT_TYPE_LISTENER, PolkitTQtListenerClass))
|
||
|
#define POLKIT_TQT_LISTENER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), \
|
||
|
POLKIT_TQT_TYPE_LISTENER, PolkitTQtListenerClass))
|
||
|
#define POLKIT_TQT_IS_LISTENER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), \
|
||
|
POLKIT_TQT_TYPE_LISTENER))
|
||
|
#define POLKIT_TQT_IS_LISTENER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), \
|
||
|
POLKIT_TQT_TYPE_LISTENER))
|
||
3 years ago
|
|
||
3 years ago
|
typedef struct _PolkitTQtListener PolkitTQtListener;
|
||
|
typedef struct _PolkitTQtListenerClass PolkitTQtListenerClass;
|
||
3 years ago
|
|
||
3 years ago
|
GType polkit_tqt_listener_get_type(void) G_GNUC_CONST;
|
||
|
PolkitAgentListener *polkit_tqt_listener_new(void);
|
||
3 years ago
|
|
||
|
G_END_DECLS
|
||
|
|
||
3 years ago
|
#endif
|
||
|
|