recording grub mod for system 76 laptops
[feisty_meow.git] / nucleus / library / tests_structures / bogon.h
1 #ifndef BOGON_CLASS
2 #define BOGON_CLASS
3
4 /*****************************************************************************\
5 *                                                                             *
6 *  Name   : bogon                                                             *
7 *  Author : Chris Koeritz                                                     *
8 *                                                                             *
9 *  Purpose:                                                                   *
10 *                                                                             *
11 *    A simple test object for amorphs.                                        *
12 *                                                                             *
13 *******************************************************************************
14 * Copyright (c) 1996-$now By Author.  This program is free software; you can  *
15 * redistribute it and/or modify it under the terms of the GNU General Public  *
16 * License as published by the Free Software Foundation; either version 2 of   *
17 * the License or (at your option) any later version.  This is online at:      *
18 *     http://www.fsf.org/copyleft/gpl.html                                    *
19 * Please send any updates to: fred@gruntose.com                               *
20 \*****************************************************************************/
21
22 #define DEBUG_ARRAY
23 #define DEBUG_AMORPH
24
25 #include <basis/astring.h>
26 #include <basis/definitions.h>
27 #include <structures/amorph.h>
28
29 class bogon
30 {
31 public:
32   bogon(basis::abyte *to_copy);
33
34   bogon(const bogon &to_copy);
35
36   bogon &operator = (const bogon &to_copy);
37
38   ~bogon();
39
40   basis::abyte *held() const;
41
42   int size() const;
43
44 private:
45   basis::abyte *my_held;
46 };
47
48 #endif
49