Skip to content
Snippets Groups Projects
Select Git revision
  • 1b59c10a6c7bad21681537059864b53186890a21
  • master default protected
  • release/202005
  • release/202001
  • release/201912
  • release/201911
  • release/releaseWindowsTestOne
  • release/windowsReleaseTest
  • release/releaseTest
  • release/releaseWindowsTest
  • release/201910
  • release/qt/201910
  • release/windows-test/201910
  • release/201908
  • release/201906
  • release/201905
  • release/201904
  • release/201903
  • release/201902
  • release/201901
  • release/201812
  • 4.0.0
  • 2.2.0
  • 2.1.0
  • 2.0.1
  • 2.0.0
  • 1.4.1
  • 1.4.0
  • 1.3.0
  • 1.2.0
  • 1.1.0
31 results

Doxyfile

Blame
  • 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 */