author | wimpie <wimpie> | 2004-04-02 18:30:55 (UTC) |
---|---|---|
committer | wimpie <wimpie> | 2004-04-02 18:30:55 (UTC) |
commit | 4ea2f227d3fb0d9591bb4f18555420ac47f3397d (patch) (unidiff) | |
tree | 4fdd216cf7af4a747e2ca71e35d15f3d9e646333 /noncore/settings/networksettings2/cable/cablerun.h | |
parent | 5334b639c9f97793bcae4f50f7b47c7a2ada4e2f (diff) | |
download | opie-4ea2f227d3fb0d9591bb4f18555420ac47f3397d.zip opie-4ea2f227d3fb0d9591bb4f18555420ac47f3397d.tar.gz opie-4ea2f227d3fb0d9591bb4f18555420ac47f3397d.tar.bz2 |
first import of NS2 app
Diffstat (limited to 'noncore/settings/networksettings2/cable/cablerun.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/networksettings2/cable/cablerun.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/noncore/settings/networksettings2/cable/cablerun.h b/noncore/settings/networksettings2/cable/cablerun.h new file mode 100644 index 0000000..36ee640 --- a/dev/null +++ b/noncore/settings/networksettings2/cable/cablerun.h | |||
@@ -0,0 +1,21 @@ | |||
1 | #include <asline.h> | ||
2 | #include "cabledata.h" | ||
3 | |||
4 | class CableRun : public AsLine { | ||
5 | |||
6 | public : | ||
7 | |||
8 | CableRun( ANetNodeInstance * NNI, | ||
9 | CableData & Data ) : AsLine( NNI ) | ||
10 | { D = &Data; } | ||
11 | |||
12 | protected : | ||
13 | |||
14 | void detectState( NodeCollection * NC ); | ||
15 | bool setState( NodeCollection * NC, Action_t A ); | ||
16 | bool canSetState( State_t Curr, Action_t A ); | ||
17 | |||
18 | private : | ||
19 | |||
20 | CableData_t * D; | ||
21 | }; | ||