summaryrefslogtreecommitdiffstats
path: root/src/SourceOutputWindow.hh
blob: a98a9d0fa3c1f611238176414c939c5d8d838a27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#ifndef foosourceoutputwindowhhfoo
#define foosourceoutputwindowhhfoo

#include <gtkmm.h>
#include <libglademm.h>

class SourceOutputWindow;

#include "ServerInfoManager.hh"

class SourceOutputWindow : public Gtk::Window {
public:
    SourceOutputWindow(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml>& refGlade);
    static SourceOutputWindow* create();

    Gtk::Label *nameLabel,
        *indexLabel,
        *sampleTypeLabel,
        *sourceLabel,
        *clientLabel,
        *ownerModuleLabel;

    Gtk::Button *closeButton,
        *toOwnerModuleButton,
        *toClientButton,
        *toSourceButton;

    uint32_t owner_module, source, client;
    
    void updateInfo(const SourceOutputInfo &i);

    virtual void onCloseButton();
    virtual void onToOwnerModuleButton();
    virtual void onToClientButton();
    virtual void onToSourceButton();
};

#endif