Initial import of the CDE 2.1.30 sources from the Open Group.
This commit is contained in:
60
cde/lib/tt/demo/CoEd/libCoEd/CoEdFile.h
Normal file
60
cde/lib/tt/demo/CoEd/libCoEd/CoEdFile.h
Normal file
@@ -0,0 +1,60 @@
|
||||
/*%% (c) Copyright 1993, 1994 Hewlett-Packard Company */
|
||||
/*%% (c) Copyright 1993, 1994 International Business Machines Corp. */
|
||||
/*%% (c) Copyright 1993, 1994 Sun Microsystems, Inc. */
|
||||
/*%% (c) Copyright 1993, 1994 Novell, Inc. */
|
||||
/*%% $XConsortium: CoEdFile.h /main/3 1995/10/20 17:06:55 rswiston $ */
|
||||
/* -*-C++-*-
|
||||
*
|
||||
* CoEdFile.h
|
||||
*
|
||||
* Copyright (c) 1991 by Sun Microsystems. All Rights Reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, distribute, and sell this software
|
||||
* and its documentation for any purpose is hereby granted without
|
||||
* fee, provided that the above copyright notice appear in all copies
|
||||
* and that both that copyright notice and this permission notice
|
||||
* appear in supporting documentation, and that the names of Sun
|
||||
* Microsystems and its subsidiaries not be used in advertising or
|
||||
* publicity pertaining to distribution of the software without
|
||||
* specific, written prior permission. Sun Microsystems and its
|
||||
* subsidiaries make no representations about the suitability of this
|
||||
* software for any purpose. It is provided "as is" without express
|
||||
* or implied warranty.
|
||||
*
|
||||
* Sun Microsystems and its subsidiaries disclaim all warranties with
|
||||
* regard to this software, including all implied warranties of
|
||||
* merchantability and fitness. In no event shall Sun Microsystems or
|
||||
* its subsidiaries be liable for any special, indirect or
|
||||
* consequential damages or any damages whatsoever resulting from loss
|
||||
* of use, data or profits, whether in an action of contract,
|
||||
* negligence or other tortious action, arising out of or in
|
||||
* connection with the use or performance of this software.
|
||||
*/
|
||||
|
||||
#ifndef CoEdFile_h
|
||||
#define CoEdFile_h
|
||||
|
||||
#include <desktop/tt_c.h>
|
||||
|
||||
#define InLibCoEd
|
||||
|
||||
#include "CoEd.h"
|
||||
|
||||
class CoEdFileList {
|
||||
public:
|
||||
CoEdFileList();
|
||||
~CoEdFileList();
|
||||
|
||||
void push( CoEdFile *change );
|
||||
void append( CoEdFile *change );
|
||||
CoEdStatus handleMsg( const char *path, Tt_message msg );
|
||||
|
||||
private:
|
||||
CoEdFile *_head;
|
||||
CoEdFile *_tail;
|
||||
int _count;
|
||||
};
|
||||
|
||||
#include "CoEd.h"
|
||||
|
||||
#endif CoEdFile_h
|
||||
Reference in New Issue
Block a user