RemoteControl Class Reference

#include <app_remote.h>

Inheritance diagram for RemoteControl:

DlgBase remote_crtl DlgBase remote_crtl remote remote MyGnomeTools MyGnomeTools remote remote MyGnomeTools MyGnomeTools List of all members.

Public Member Functions

 RemoteControl ()
 ~RemoteControl ()
void run ()
virtual int addcmd (gchar **cmdargvlist)
virtual int checkentry (gchar **cmdargvlist)
virtual int checkactions (gchar **cmdargvlist)
virtual void waitfkt ()
void stop ()
void pause ()
void resume ()
void play ()
 RemoteControl ()
 ~RemoteControl ()
void run ()
virtual int addcmd (gchar **cmdargvlist)
virtual int checkentry (gchar **cmdargvlist)
virtual int checkactions (gchar **cmdargvlist)
virtual void waitfkt ()
void stop ()
void pause ()
void resume ()
void play ()

Static Public Member Functions

static void dlg_clicked (GtkDialog *dialog, gint button_number, RemoteControl *rc)
static gboolean InputFunction (GIOChannel *src, GIOCondition condition, void *rc)
static void Check_ec (Gtk_EntryControl *ec, gpointer arglist)
static void CbAction_ra (remote_action_cb *ra, gpointer arglist)
static void dlg_clicked (GtkDialog *dialog, gint button_number, RemoteControl *rc)
static gboolean InputFunction (GIOChannel *src, GIOCondition condition, void *rc)
static void Check_ec (Gtk_EntryControl *ec, gpointer arglist)
static void CbAction_ra (remote_action_cb *ra, gpointer arglist)

Private Attributes

int pause_flg
GtkWidget * Dlg
GtkWidget * list
gint ncol
gint op
GIOChannel * gio
GtkWidget * Dlg
GtkWidget * list
GIOChannel * gio

Detailed Description

Definition at line 34 of file app_remote.h.


Constructor & Destructor Documentation

RemoteControl::RemoteControl  ) 
 

Definition at line 387 of file app_remote.C.

References Dlg, FALSE, gio, and op.

RemoteControl::~RemoteControl  ) 
 

Definition at line 394 of file app_remote.C.

References stop().

RemoteControl::RemoteControl  ) 
 

RemoteControl::~RemoteControl  ) 
 


Member Function Documentation

virtual int RemoteControl::addcmd gchar **  cmdargvlist  )  [virtual]
 

Implements remote_crtl.

int RemoteControl::addcmd gchar **  cmdargvlist  )  [virtual]
 

Implements remote_crtl.

Definition at line 568 of file app_remote.C.

References list, and ncol.

static void RemoteControl::CbAction_ra remote_action_cb ra,
gpointer  arglist
[inline, static]
 

Definition at line 51 of file app_remote.h.

References remote_action_cb::cmd, remote_action_cb::data, remote_action_cb::RemoteCb, and remote_action_cb::widget.

static void RemoteControl::CbAction_ra remote_action_cb ra,
gpointer  arglist
[inline, static]
 

Definition at line 51 of file app_remote.h.

References remote_action_cb::cmd, remote_action_cb::data, remote_action_cb::RemoteCb, and remote_action_cb::widget.

Referenced by checkactions().

static void RemoteControl::Check_ec Gtk_EntryControl ec,
gpointer  arglist
[inline, static]
 

Definition at line 48 of file app_remote.h.

References Gtk_EntryControl::CheckRemoteCmd().

static void RemoteControl::Check_ec Gtk_EntryControl ec,
gpointer  arglist
[inline, static]
 

Definition at line 48 of file app_remote.h.

References Gtk_EntryControl::CheckRemoteCmd().

Referenced by checkentry().

virtual int RemoteControl::checkactions gchar **  cmdargvlist  )  [inline, virtual]
 

Implements remote_crtl.

Definition at line 62 of file app_remote.h.

References CbAction_ra(), gapp, and App::RemoteActionList.

virtual int RemoteControl::checkactions gchar **  cmdargvlist  )  [inline, virtual]
 

Implements remote_crtl.

Definition at line 62 of file app_remote.h.

References CbAction_ra(), gapp, and App::RemoteActionList.

virtual int RemoteControl::checkentry gchar **  cmdargvlist  )  [inline, virtual]
 

Implements remote_crtl.

Definition at line 58 of file app_remote.h.

References Check_ec(), gapp, and App::RemoteEntryList.

virtual int RemoteControl::checkentry gchar **  cmdargvlist  )  [inline, virtual]
 

Implements remote_crtl.

Definition at line 58 of file app_remote.h.

References Check_ec(), gapp, and App::RemoteEntryList.

static void RemoteControl::dlg_clicked GtkDialog *  dialog,
gint  button_number,
RemoteControl rc
[static]
 

void RemoteControl::dlg_clicked GtkDialog *  dialog,
gint  button_number,
RemoteControl rc
[static]
 

Definition at line 514 of file app_remote.C.

References DlgBase::DlgDone(), gio, MY_GTK_RESPONSE_PAUSE, MY_GTK_RESPONSE_RUN, MY_GTK_RESPONSE_STOP, pause(), play(), resume(), and stop().

static gboolean RemoteControl::InputFunction GIOChannel *  src,
GIOCondition  condition,
void *  rc
[static]
 

gboolean RemoteControl::InputFunction GIOChannel *  src,
GIOCondition  condition,
void *  rc
[static]
 

Definition at line 536 of file app_remote.C.

References FALSE, TRUE, and remote::waiting().

Referenced by play(), and resume().

void RemoteControl::pause  ) 
 

void RemoteControl::pause  ) 
 

Definition at line 476 of file app_remote.C.

References DBG_L2, Dlg, TRUE, remote::wait(), and XSM_DEBUG.

Referenced by dlg_clicked(), and r_cmdsleep().

void RemoteControl::play  ) 
 

void RemoteControl::play  ) 
 

Definition at line 497 of file app_remote.C.

References DBG_L2, Dlg, FALSE, gio, InputFunction(), op, remote::rcopen(), remote::remotefifo, XSMRESOURCES::RemoteFifo, XSMRESOURCES::RemoteFifoOut, TRUE, remote::wait(), XSM_DEBUG, and xsmres.

Referenced by dlg_clicked().

void RemoteControl::resume  ) 
 

void RemoteControl::resume  ) 
 

Definition at line 483 of file app_remote.C.

References DBG_L2, Dlg, FALSE, gio, InputFunction(), op, remote::remotefifo, remote::wait(), and XSM_DEBUG.

Referenced by dlg_clicked(), and r_WakeUp().

void RemoteControl::run  )  [virtual]
 

Implements DlgBase.

void RemoteControl::run  )  [virtual]
 

Implements DlgBase.

Definition at line 398 of file app_remote.C.

References _, Dlg, DlgBase::DlgStart(), FALSE, GNOME_PAD, REMOTEENTRY::label, list, MY_GTK_RESPONSE_PAUSE, MY_GTK_RESPONSE_RUN, MY_GTK_RESPONSE_STOP, ncol, remotetabledef, TRUE, and width.

void RemoteControl::stop  ) 
 

void RemoteControl::stop  ) 
 

Definition at line 460 of file app_remote.C.

References DBG_L2, Dlg, FALSE, gio, op, remote::rcclose(), remote::wait(), and XSM_DEBUG.

Referenced by dlg_clicked(), r_cmdquit(), and ~RemoteControl().

virtual void RemoteControl::waitfkt  )  [inline, virtual]
 

Reimplemented from remote_crtl.

Definition at line 66 of file app_remote.h.

References GnomeAppService::check_events(), and gapp.

virtual void RemoteControl::waitfkt  )  [inline, virtual]
 

Reimplemented from remote_crtl.

Definition at line 66 of file app_remote.h.

References GnomeAppService::check_events(), and gapp.


Member Data Documentation

GtkWidget* RemoteControl::Dlg [private]
 

Definition at line 75 of file app_remote.h.

GtkWidget* RemoteControl::Dlg [private]
 

Definition at line 75 of file app_remote.h.

Referenced by pause(), play(), RemoteControl(), resume(), run(), and stop().

GIOChannel* RemoteControl::gio [private]
 

Definition at line 79 of file app_remote.h.

GIOChannel* RemoteControl::gio [private]
 

Definition at line 79 of file app_remote.h.

Referenced by dlg_clicked(), play(), RemoteControl(), resume(), and stop().

GtkWidget* RemoteControl::list [private]
 

Definition at line 76 of file app_remote.h.

GtkWidget* RemoteControl::list [private]
 

Definition at line 76 of file app_remote.h.

Referenced by addcmd(), and run().

gint RemoteControl::ncol [private]
 

Definition at line 77 of file app_remote.h.

Referenced by addcmd(), and run().

gint RemoteControl::op [private]
 

Definition at line 78 of file app_remote.h.

Referenced by play(), RemoteControl(), resume(), and stop().

int RemoteControl::pause_flg [private]
 

Definition at line 74 of file app_remote.h.


The documentation for this class was generated from the following files:
Generated on Sat Apr 1 09:06:09 2006 for GXSM by  doxygen 1.4.6