diff -r 03b5e6d53fa1 -r ea87294eff71 pidgin/prefs/pidginawayprefs.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pidgin/prefs/pidginawayprefs.h Sun May 15 02:33:16 2022 -0500 @@ -0,0 +1,62 @@ +/* + * Pidgin - Internet Messenger + * Copyright (C) Pidgin Developers + * + * Pidgin is the legal property of its developers, whose names are too numerous + * to list here. Please refer to the COPYRIGHT file distributed with this + * source distribution. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, see . + */ + +#if !defined(PIDGIN_GLOBAL_HEADER_INSIDE) && !defined(PIDGIN_COMPILATION) +# error "only may be included directly" +#endif + +#ifndef PIDGIN_AWAY_PREFS_H +#define PIDGIN_AWAY_PREFS_H + +#include + +#include +#include + +G_BEGIN_DECLS + +/** + * PidginAwayPrefs: + * + * #PidginAwayPrefs is a widget for the preferences window to let users + * choose and configure their away and idle settings. + * + * Since: 3.0.0 + */ +#define PIDGIN_TYPE_AWAY_PREFS (pidgin_away_prefs_get_type()) +G_DECLARE_FINAL_TYPE(PidginAwayPrefs, pidgin_away_prefs, + PIDGIN, AWAY_PREFS, HdyPreferencesPage) + +/** + * pidgin_away_prefs_new: + * + * Creates a new #PidginAwayPrefs instance. + * + * Returns: (transfer full): The new #PidginAwayPrefs instance. + * + * Since: 3.0.0 + */ +GtkWidget *pidgin_away_prefs_new(void); + +G_END_DECLS + +#endif /* PIDGIN_AWAY_PREFS_H */