summaryrefslogtreecommitdiff
path: root/src/programchain.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2009-01-16 23:55:53 +0000
committerMike Buland <eichlan@xagasoft.com>2009-01-16 23:55:53 +0000
commit8c1f4d7bace6ff2c99d546cedaba890b349e88f8 (patch)
treee5c6e29deaaa7db42fbc75d0fdef32457bb0c8f2 /src/programchain.h
parent0a43e790cf9798948ab989abe88f890813c935df (diff)
downloadlibbu++-8c1f4d7bace6ff2c99d546cedaba890b349e88f8.tar.gz
libbu++-8c1f4d7bace6ff2c99d546cedaba890b349e88f8.tar.bz2
libbu++-8c1f4d7bace6ff2c99d546cedaba890b349e88f8.tar.xz
libbu++-8c1f4d7bace6ff2c99d546cedaba890b349e88f8.zip
I...think that's a little better. Wow, function pointers in windows have a
lot of problems. This may require a little more research, but basically, you can't just call them inline wherever you'd like. I managed to get it to work by providing simple one line wrapper functions for each function we acquired as a pointer. Crazy mess. Anyway, it should load the library just once now, and Bu::Socket looks a little bit cleaner, but not a heck of a lot. I also added some more docs and removed the author references.
Diffstat (limited to 'src/programchain.h')
-rw-r--r--src/programchain.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/programchain.h b/src/programchain.h
index bd4f658..c50e1c2 100644
--- a/src/programchain.h
+++ b/src/programchain.h
@@ -17,7 +17,6 @@ namespace Bu
17 /** 17 /**
18 * The Program Chain links together program "chunks" to more easily facilitate 18 * The Program Chain links together program "chunks" to more easily facilitate
19 * a generalized program loop with modular extensions. 19 * a generalized program loop with modular extensions.
20 *@author Mike Buland
21 */ 20 */
22 class ProgramChain 21 class ProgramChain
23 { 22 {
@@ -36,7 +35,6 @@ namespace Bu
36 * Adds a link to the end of the chain. 35 * Adds a link to the end of the chain.
37 *@param pLink A pointer to the link to add to the chain. 36 *@param pLink A pointer to the link to add to the chain.
38 *@returns True if adding the link was successful, otherwise false 37 *@returns True if adding the link was successful, otherwise false
39 *@author Mike Buland
40 */ 38 */
41 bool addLink( Bu::ProgramLink *pLink ); 39 bool addLink( Bu::ProgramLink *pLink );
42 40
@@ -46,14 +44,12 @@ namespace Bu
46 * name, apparently. 44 * name, apparently.
47 *@returns A pointer to the specified ProgramLink, or NULL if none were 45 *@returns A pointer to the specified ProgramLink, or NULL if none were
48 * found matching your criteria. 46 * found matching your criteria.
49 *@author Mike Buland
50 */ 47 */
51 class ProgramLink *getLink( const char *lpName ); 48 class ProgramLink *getLink( const char *lpName );
52 49
53 /** 50 /**
54 * Gets the very first link in the chain. 51 * Gets the very first link in the chain.
55 *@returns A pointer to the first link in the chain. 52 *@returns A pointer to the first link in the chain.
56 *@author Mike Buland
57 */ 53 */
58 class ProgramLink *getBaseLink(); 54 class ProgramLink *getBaseLink();
59 55
@@ -62,7 +58,6 @@ namespace Bu
62 * over the operation of the chain. 58 * over the operation of the chain.
63 *@returns true if every link returned true. If at least one link returns 59 *@returns true if every link returned true. If at least one link returns
64 * false, then returns false. 60 * false, then returns false.
65 *@author Mike Buland
66 */ 61 */
67 bool execChainOnce(); 62 bool execChainOnce();
68 63
@@ -72,7 +67,6 @@ namespace Bu
72 * a link returns a false value. 67 * a link returns a false value.
73 *@returns False, always. It returns true unless a link returned false, 68 *@returns False, always. It returns true unless a link returned false,
74 * but loops until a link does return false. 69 * but loops until a link does return false.
75 *@author Mike Buland
76 **/ 70 **/
77 bool enterChainLoop(); 71 bool enterChainLoop();
78 72