~pac72/ubuntu/lucid/ddd/devel

« back to all changes in this revision

Viewing changes to ddd/Swallower.C

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Schepler
  • Date: 2004-07-22 03:49:37 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20040722034937-cysl08t1jvba4jrx
Tags: 1:3.3.9-3
USERINFO has been renamed to USERINFO.txt; adjust debian/rules code
to match, to get correct information on the About DDD dialog.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// $Id: Swallower.C,v 1.8 2001/04/26 11:08:07 zeller Exp $ -*- C++ -*-
 
1
// $Id$ -*- C++ -*-
2
2
// Swallower Widget - swallow a user application
3
3
 
4
4
// Copyright (C) 1998 Technische Universitaet Braunschweig, Germany.
27
27
// or send a mail to the DDD developers <ddd@gnu.org>.
28
28
 
29
29
char Swallower_rcsid[] = 
30
 
    "$Id: Swallower.C,v 1.8 2001/04/26 11:08:07 zeller Exp $";
31
 
 
32
 
#ifdef __GNUG__
33
 
#pragma implementation
34
 
#endif
 
30
    "$Id$";
35
31
 
36
32
#include "Swallower.h"
37
33
#include "SwallowerP.h"
46
42
static XtResource resources[] = {
47
43
#define offset(field) XtOffsetOf(SwallowerRec, swallower.field)
48
44
    // {name, class, type, size, offset, default_type, default_addr}
49
 
    { CONST_CAST(char*,XtNwindow), XtCWindow, XtRPointer, sizeof(Window),
 
45
    { XTRESSTR(XtNwindow), XtCWindow, XtRPointer, sizeof(Window),
50
46
        offset(window), XtRImmediate, XtPointer(None) },
51
 
    { CONST_CAST(char*,XtNwindowGoneCallback), XtCCallback, XtRCallback, sizeof(XtPointer),
 
47
    { XTRESSTR(XtNwindowGoneCallback), XtCCallback, XtRCallback, sizeof(XtPointer),
52
48
        offset(windowGoneProc), XtRCallback, XtPointer(0) },
53
 
    { CONST_CAST(char*,XtNwindowCreatedCallback), XtCCallback, XtRCallback, sizeof(XtPointer),
 
49
    { XTRESSTR(XtNwindowCreatedCallback), XtCCallback, XtRCallback, sizeof(XtPointer),
54
50
        offset(windowCreatedProc), XtRCallback, XtPointer(0) },
55
51
#undef offset
56
52
};