Select Git revision
qrencode-win32.patch
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
ringmainwindow.h 2.55 KiB
/*
* Copyright (C) 2015-2019 Savoir-faire Linux Inc.
* Author: Stepan Salenikovich <stepan.salenikovich@savoirfairelinux.com>
*
* 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 3 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, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef _RINGMAINWINDOW_H
#define _RINGMAINWINDOW_H
#include <gtk/gtk.h>
G_BEGIN_DECLS
#define RING_MAIN_WINDOW_TYPE (ring_main_window_get_type ())
#define RING_MAIN_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), RING_MAIN_WINDOW_TYPE, RingMainWindow))
#define RING_MAIN_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), RING_MAIN_WINDOW_TYPE, RingMainWindowClass))
#define IS_RING_MAIN_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), RING_MAIN_WINDOW_TYPE))
#define IS_RING_MAIN_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), RING_MAIN_WINDOW_TYPE))
typedef struct _RingMainWindow RingMainWindow;
typedef struct _RingMainWindowClass RingMainWindowClass;
GType ring_main_window_get_type (void) G_GNUC_CONST;
GtkWidget *ring_main_window_new (GtkApplication *app);
void ring_main_window_reset (RingMainWindow *win);
bool ring_main_window_can_close(RingMainWindow *win);
void ring_main_window_display_account_list(RingMainWindow *win);
void ring_main_window_search(RingMainWindow *win);
void ring_main_window_conversations_list(RingMainWindow *win);
void ring_main_window_requests_list(RingMainWindow *win);
void ring_main_window_audio_call(RingMainWindow *win);
void ring_main_window_clear_history(RingMainWindow *win);
void ring_main_window_remove_conversation(RingMainWindow *win);
void ring_main_window_block_contact(RingMainWindow *win);
void ring_main_window_unblock_contact(RingMainWindow *win);
void ring_main_window_copy_contact(RingMainWindow *win);
void ring_main_window_add_contact(RingMainWindow *win);
void ring_main_window_accept_call(RingMainWindow *win);
void ring_main_window_decline_call(RingMainWindow *win);
G_END_DECLS
#endif /* _RINGMAINWINDOW_H */