source: trunk/src/sampler.h @ 251

Last change on this file since 251 was 251, checked in by sam, 11 years ago

Skeleton for sample entity and sampler manager classes.

  • Property svn:keywords set to Id
File size: 699 bytes
Line 
1//
2// Lol Engine
3//
4// Copyright: (c) 2010-2011 Sam Hocevar <sam@hocevar.net>
5//   This program is free software; you can redistribute it and/or
6//   modify it under the terms of the Do What The Fuck You Want To
7//   Public License, Version 2, as published by Sam Hocevar. See
8//   http://sam.zoy.org/projects/COPYING.WTFPL for more details.
9//
10
11//
12// The Sampler class
13// -----------------
14// The Sampler is a static class that manages samples.
15//
16
17#if !defined __DH_SAMPLER_H__
18#define __DH_SAMPLER_H__
19
20#include <stdint.h>
21
22class Sampler
23{
24public:
25    static int Register(char const *path);
26    static void Deregister(int id);
27
28    static void PlaySample(int id);
29};
30
31#endif // __DH_SAMPLER_H__
32
Note: See TracBrowser for help on using the repository browser.