add SingletonDll test do demonstrate the usage of singletons in a Dll
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@565 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
parent
4fbed79847
commit
a3b09b5bed
12 changed files with 931 additions and 0 deletions
30
test/SingletonDll/foo.h
Executable file
30
test/SingletonDll/foo.h
Executable file
|
@ -0,0 +1,30 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
// The Loki Library
|
||||
// Copyright (c) 2006 Peter Kümmel
|
||||
// Permission to use, copy, modify, distribute and sell this software for any
|
||||
// purpose is hereby granted without fee, provided that the above copyright
|
||||
// notice appear in all copies and that both that copyright notice and this
|
||||
// permission notice appear in supporting documentation.
|
||||
// The author makes no representations about the
|
||||
// suitability of this software for any purpose. It is provided "as is"
|
||||
// without express or implied warranty.
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef LOKI_FOO_H
|
||||
#define LOKI_FOO_H
|
||||
|
||||
// $Header:
|
||||
|
||||
#include "foo_export.h"
|
||||
|
||||
|
||||
|
||||
class FOO_EXPORT Foo
|
||||
{
|
||||
public:
|
||||
Foo();
|
||||
|
||||
void foo();
|
||||
};
|
||||
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue