# Path: app/snapins/snapin.py
# class SnapinBase(object):
#     __metaclass__ = abc.ABCMeta
#     title = "snapin title"
#     description = "snapin description" 
#     version = "0.0"
#     name = "default snapin"
#     
#     @abc.abstractmethod
#     def context(self):
#         """Return some stuff to be used in the snapin template"""
#         return ""
# 
# Path: app/lib/livestatusconnection.py



from flask import Flask, request, session, g, redirect, url_for, abort, render_template, flash, Module, current_app
from flask.ext.babelex import Domain, gettext, ngettext
from ..snapin import SnapinBase
from app.lib.livestatusconnection import live
from os import path
import abc
#   
#   Copyright (C) 2013
#     Mathias Kettner, mk@mathias-kettner.de
#     Savoir-Faire Linux Inc.
#   
#   This file is part of Sageo
#   
#   Sageo 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 3 of the License, or
#   (at your option) any later version.
#
#   Sageo 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 Sageo.  If not, see <http://www.gnu.org/licenses/>



class SnapinTacticalOverview(SnapinBase):
    def __init__(self):
        self.translations_path = path.join(path.dirname(__file__), 'translations') 
        self.mydomain = Domain(self.translations_path)

# Path: app/snapins/snapin.py
# class SnapinBase(object):
#     __metaclass__ = abc.ABCMeta
#     title = "snapin title"
#     description = "snapin description" 
#     version = "0.0"
#     name = "default snapin"
#     
#     @abc.abstractmethod
#     def context(self):
#         """Return some stuff to be used in the snapin template"""
#         return ""
# 
# Path: app/lib/livestatusconnection.py



# Path: app/snapins/SnapinTacticalOverview/SnapinTacticalOverview.py
from flask import Flask, request, session, g, redirect, url_for, abort, render_template, flash, Module, current_app
from flask.ext.babelex import Domain, gettext, ngettext
from ..snapin import SnapinBase
from app.lib.livestatusconnection import live
from os import path
import abc

#   
#   Copyright (C) 2013
#     Mathias Kettner, mk@mathias-kettner.de
#     Savoir-Faire Linux Inc.
#   
#   This file is part of Sageo
#   
#   Sageo 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 3 of the License, or
#   (at your option) any later version.
#
#   Sageo 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 Sageo.  If not, see <http://www.gnu.org/licenses/>



class SnapinTacticalOverview(SnapinBase):
    def __init__(self):
        self.translations_path = path.join(path.dirname(__file__), 'translations') 
        self.mydomain = Domain(self.translations_path)

        _ = self.mydomain.lazy_gettext