init repo
This commit is contained in:
commit
a68bb3aecc
8 changed files with 79 additions and 0 deletions
BIN
drv/.b15f.cpp.swp
Normal file
BIN
drv/.b15f.cpp.swp
Normal file
Binary file not shown.
20
drv/b15f.cpp
Normal file
20
drv/b15f.cpp
Normal file
|
@ -0,0 +1,20 @@
|
|||
#include "b15f.h"
|
||||
|
||||
B15F* B15F::instance = nullptr;
|
||||
|
||||
B15F::B15F()
|
||||
{
|
||||
}
|
||||
|
||||
void B15F::init(void)
|
||||
{
|
||||
std::cout << "moint: " << std::endl;
|
||||
}
|
||||
|
||||
B15F& B15F::getInstance(void)
|
||||
{
|
||||
if(!instance)
|
||||
instance = new B15F();
|
||||
|
||||
return *instance;
|
||||
}
|
18
drv/b15f.h
Normal file
18
drv/b15f.h
Normal file
|
@ -0,0 +1,18 @@
|
|||
#ifndef B15F_h
|
||||
#define B15F_h
|
||||
|
||||
#include <iostream>
|
||||
|
||||
class B15F
|
||||
{
|
||||
private:
|
||||
B15F(void); // privater Konstruktor
|
||||
public:
|
||||
void init(void);
|
||||
static B15F& getInstance(void);
|
||||
|
||||
private:
|
||||
static B15F* instance;
|
||||
};
|
||||
|
||||
#endif // B15F_h
|
BIN
drv/b15f.o
Normal file
BIN
drv/b15f.o
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue