Files
Hippolyzer/pyogp/lib/base/datamanager.py

40 lines
1.0 KiB
Python
Raw Normal View History

"""
Contributors can be viewed at:
http://svn.secondlife.com/svn/linden/projects/2008/pyogp/lib/base/trunk/CONTRIBUTORS.txt
$LicenseInfo:firstyear=2008&license=apachev2$
Copyright 2009, Linden Research, Inc.
Licensed under the Apache License, Version 2.0.
You may obtain a copy of the License at:
http://www.apache.org/licenses/LICENSE-2.0
or in
http://svn.secondlife.com/svn/linden/projects/2008/pyogp/lib/base/LICENSE.txt
$/LicenseInfo$
"""
2009-07-07 00:15:55 +00:00
# utilities
from pyogp.lib.base.exc import NotImplemented
class DataManager(object):
def __init__(self, agent, settings):
2009-07-07 00:15:55 +00:00
# allow the settings to be passed in
# otherwise, grab the defaults
if settings != None:
self.settings = settings
else:
from pyogp.lib.base.settings import Settings
self.settings = Settings()
self.agent = agent
2009-09-01 16:34:23 +00:00
2009-07-07 00:15:55 +00:00
def enable_callbacks(self):
"""
Implementing class would instantiate its message handlers here
"""
raise NotImplemented("enable_callbacks")
2009-09-01 16:34:23 +00:00