Skip to content
Snippets Groups Projects
Select Git revision
  • e23740acb29b87d0dbac51c30497f2d4bf46f7c2
  • master default protected
  • release/202106
  • release/202104
  • release/202101
  • release/202012
  • release/202005
  • release/202001
  • release/201912
  • release/201911
  • release/windows-test/201910
  • release/201908
  • release/201906
  • release/201905
  • release/201904
  • release/201903
  • release/201902
  • release/201901
  • release/201812
  • release/201811
  • release/201808
  • 1.0.0
  • 0.3.0
  • 0.2.1
  • 0.2.0
  • 0.1.0
26 results

ringmainwindow.h

Blame
  • Sébastien Blin's avatar
    Sébastien Blin authored
    Add shortcuts to perform a lot of actions without the mouse. Also
    add a Keyboard shortcuts window.
    
    Change-Id: If3fe70a27696b03bf4a067d7bbf004116d4ed97c
    e23740ac
    History
    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 */