# -*- coding: utf-8 -*-

# Copyright (C) 2010-2012 SKAT Ltd. (http://www.scat.su)

# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

import platform
if platform.machine() == "i686":
    import pjsua.i686.pjsua as pj
elif platform.machine() == "x86_64":
    import pjsua.x86_64.pjsua as pj
elif platform.machine() == "x86":
    import pjsua.x86_win.pjsua as pj	

class Call(object):
    """ yass_calls keeps track of concurrent calls in the system:
            * current: contains the current call object.
            * list: contains a list of calls currently active.
    """
    _current_call = None
    _calls = []

    def _get_current(self):
        return Call._current_call

    def _set_current(self, call):
        Call._current_call = call

    current = property(_get_current, _set_current)

    def _get_list(self):
        return Call._calls

    def _set_list(self, calls):
        Call._calls = calls

    list = property(_get_list, _set_list)

    def __init__(self):
        pass

if __name__ == "__main__":
    pass

