xref: /haiku/src/kits/screensaver/ScreenSaver.cpp (revision 67bce78b48ed6d01b5a8eef89f5694c372b7e0a1)
1 #include "ScreenSaver.h"
2 #include <stdio.h>
3 
4 BScreenSaver::BScreenSaver(BMessage *archive,
5                            image_id) : ticksize(50000),looponcount(0),loopoffcount(0) {
6 }
7 
8 
9 BScreenSaver::~BScreenSaver() {
10 }
11 
12 
13 status_t
14 BScreenSaver::InitCheck() {
15     return B_OK; // This method is meant to be overridden
16 }
17 
18 
19 status_t
20 BScreenSaver::StartSaver(BView *view, bool preview) {
21     return B_OK; // This method is meant to be overridden
22 }
23 
24 void
25 BScreenSaver::StopSaver() {
26 	return; // This method is meant to be overridden
27 }
28 
29 void
30 BScreenSaver::Draw(BView *view, int32 frame)
31 {
32 	return; // This method is meant to be overridden
33 }
34 
35 void
36 BScreenSaver::DirectConnected(direct_buffer_info *info) {
37 	return; // This method is meant to be overridden
38 }
39 
40 void
41 BScreenSaver::DirectDraw(int32 frame) {
42 	return; // This method is meant to be overridden
43 }
44 
45 void
46 BScreenSaver::StartConfig(BView *configView) {
47 	return; // This method is meant to be overridden
48 }
49 
50 void
51 BScreenSaver::StopConfig() {
52 	return; // This method is meant to be overridden
53 }
54 
55 void
56 BScreenSaver::SupplyInfo(BMessage *info) const {
57 	return; // This method is meant to be overridden
58 }
59 
60 void
61 BScreenSaver::ModulesChanged(const BMessage *info) {
62 	return; // This method is meant to be overridden
63 }
64 
65 status_t
66 BScreenSaver::SaveState(BMessage *into) const {
67     return B_ERROR; // This method is meant to be overridden
68 }
69 
70 void
71 BScreenSaver::SetTickSize(bigtime_t ts) {
72 	ticksize = ts;
73 }
74 
75 bigtime_t
76 BScreenSaver::TickSize() const {
77     return ticksize;
78 }
79 
80 void
81 BScreenSaver::SetLoop(int32 on_count, int32 off_count) {
82 	looponcount = on_count;
83 	loopoffcount = off_count;
84 }
85 
86 int32
87 BScreenSaver::LoopOnCount() const {
88     return looponcount;
89 }
90 
91 int32
92 BScreenSaver::LoopOffCount() const {
93     return loopoffcount;
94 }
95 
96 void
97 BScreenSaver::_ReservedScreenSaver1() {
98 }
99 
100 void
101 BScreenSaver::_ReservedScreenSaver2() {
102 }
103 
104 void
105 BScreenSaver::_ReservedScreenSaver3() {
106 }
107 
108 void
109 BScreenSaver::_ReservedScreenSaver4() {
110 }
111 
112 void
113 BScreenSaver::_ReservedScreenSaver5() {
114 }
115 
116 void
117 BScreenSaver::_ReservedScreenSaver6() {
118 }
119 
120 void
121 BScreenSaver::_ReservedScreenSaver7() {
122 }
123 
124 void
125 BScreenSaver::_ReservedScreenSaver8() {
126 }
127 
128