1 /*****************************************************************
2 ViewKlass - C++ framework library for Motif
3
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Library General Public
6 License as published by the Free Software Foundation; either
7 version 2 of the License, or (at your option) any later version.
8
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Library General Public License for more details.
13
14 You should have received a copy of the GNU Library General Public
15 License along with this library; if not, write to the Free Software
16 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17
18 Copyright (C) 2001 John Lemcke
19 jostle@users.sourceforge.net
20 *****************************************************************/
21
22 /**
23 *
24 * VkModel.C
25 *
26 * This file contains the class implementation for the
27 * abstract class of VkModel, which presents a more MVC
28 * like smalltalk interface to c++ programmers.
29 *
30 * Chris Toshok
31 * Copyright (C) 1995
32 * The Hungry Programmers, Inc.
33 * All Rights Reserved
34 *
35 **/
36
37 static const char* rcsid
38 #ifdef __GNUC__
39 __attribute__ ((unused))
40 #endif
41 = "$Id: VkModel.C,v 1.8 2009/03/21 11:44:34 jostle Exp $";
42
43 #include <Vk/VkModel.h>
44
45 using namespace std;
46
47 const char* const VkModel::updateCallback = "VkModel::updateCallback";
48
VkModel()49 VkModel::VkModel()
50 {
51 }
52
53 void
updateViews(void * data)54 VkModel::updateViews(void *data)
55 {
56 callCallbacks(VkModel::updateCallback, data);
57 }
58
~VkModel()59 VkModel::~VkModel()
60 {
61 }
62