Last change
on this file since 5800 was
5650,
checked in by patrick, 19 years ago
|
network: finished the simple_sync program
|
File size:
1020 bytes
|
Line | |
---|
1 | /* |
---|
2 | orxonox - the future of 3D-vertical-scrollers |
---|
3 | |
---|
4 | Copyright (C) 2004 orx |
---|
5 | |
---|
6 | This program is free software; you can redistribute it and/or modify |
---|
7 | it under the terms of the GNU General Public License as published by |
---|
8 | the Free Software Foundation; either version 2, or (at your option) |
---|
9 | any later version. |
---|
10 | |
---|
11 | |
---|
12 | ### File Specific: |
---|
13 | main-programmer: Silvan Nellen |
---|
14 | co-programmer: ... |
---|
15 | */ |
---|
16 | |
---|
17 | #include "synchronizeable.h" |
---|
18 | #include "netdefs.h" |
---|
19 | |
---|
20 | /** |
---|
21 | \brief default constructor |
---|
22 | */ |
---|
23 | Synchronizeable::Synchronizeable() |
---|
24 | { |
---|
25 | |
---|
26 | |
---|
27 | } |
---|
28 | |
---|
29 | /** |
---|
30 | \brief default destructor deletes all unneded stuff |
---|
31 | */ |
---|
32 | Synchronizeable::~Synchronizeable() |
---|
33 | { |
---|
34 | |
---|
35 | |
---|
36 | |
---|
37 | |
---|
38 | } |
---|
39 | |
---|
40 | /** |
---|
41 | \brief write data to NetworkStream |
---|
42 | */ |
---|
43 | void Synchronizeable::writeBytes(byte* data, int length) |
---|
44 | { |
---|
45 | |
---|
46 | |
---|
47 | |
---|
48 | } |
---|
49 | |
---|
50 | |
---|
51 | /** |
---|
52 | \brief read data from NetworkStream |
---|
53 | */ |
---|
54 | int Synchronizeable::readBytes(byte* data) |
---|
55 | { |
---|
56 | |
---|
57 | |
---|
58 | |
---|
59 | |
---|
60 | } |
---|
61 | |
---|
62 | void Synchronizeable::writeDebug() |
---|
63 | { |
---|
64 | |
---|
65 | } |
---|
66 | |
---|
67 | void Synchronizeable::readDebug() |
---|
68 | { |
---|
69 | |
---|
70 | |
---|
71 | |
---|
72 | |
---|
73 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.