Commit a4ec4921 authored by claes's avatar claes

Login added

parent 59f350a0
/*
* Proview $Id: xtt_xnav_motif.cpp,v 1.2 2007-05-21 14:28:56 claes Exp $
* Proview $Id: xtt_xnav_motif.cpp,v 1.3 2008-06-25 12:34:56 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -72,6 +72,7 @@ extern "C" {
#include "co_error.h"
#include "co_xhelp.h"
#include "co_wow_motif.h"
#include "co_login_motif.h"
#include "xtt_xnav_motif.h"
#include "xtt_item.h"
#include "xtt_menu.h"
......@@ -287,6 +288,15 @@ GeCurve *XNavMotif::gecurve_new( char *name, char *filename, GeCurveData *data,
return new GeCurveMotif( this, parent_wid, name, filename, data, pos_right);
}
CoLogin *XNavMotif::login_new( char *name,
char *groupname,
void (* bc_success)( void *),
void (* bc_cancel)( void *),
pwr_tStatus *status)
{
return new CoLoginMotif( this, parent_wid, name, groupname, bc_success, bc_cancel, status);
}
void XNavMotif::bell( int time)
{
XBell( flow_Display( brow_widget), time);
......
/*
* Proview $Id: xtt_xnav_motif.h,v 1.2 2007-05-21 14:28:56 claes Exp $
* Proview $Id: xtt_xnav_motif.h,v 1.3 2008-06-25 12:34:56 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -71,6 +71,11 @@ class XNavMotif : public XNav {
int (*xg_is_authorized_cb) (void *, unsigned int));
GeCurve *gecurve_new( char *name, char *filename, GeCurveData *data,
int pos_right);
CoLogin *login_new( char *wl_name,
char *wl_groupname,
void (* wl_bc_success)( void *),
void (* wl_bc_cancel)( void *),
pwr_tStatus *status);
void bell( int time);
void get_popup_menu( pwr_sAttrRef attrref,
xmenu_eItemType item_type,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment