sugar-toolkit-gtk3/shell/home/HomeModel.py

14 lines
287 B
Python
Raw Normal View History

2006-08-19 11:12:25 +02:00
from home.FriendsModel import FriendsModel
from home.MeshModel import MeshModel
class HomeModel:
def __init__(self, registry):
self._friends = FriendsModel()
self._mesh = MeshModel(registry)
def get_friends(self):
return self._friends
def get_mesh(self):
return self._mesh