Skip to content
Snippets Groups Projects
Select Git revision
  • 99bb76eef6c30f2c5b47f4b4750de6e89f232b46
  • master default protected
  • react
3 results

admin.md

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    instance_interface_singleton.h 1.88 KiB
    /***************************************************************************
     *   Copyright (C) 2009 by Savoir-Faire Linux                              *
     *   Author : Jérémy Quentin                                               *
     *   jeremy.quentin@savoirfairelinux.com                                   *
     *                                                                         *
     *   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 3 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.             *
     ***************************************************************************/
     
    #ifndef INSTANCE_INTERFACE_SINGLETON_H
    #define INSTANCE_INTERFACE_SINGLETON_H
    
    #include "src/lib/instance_dbus_interface.h"
    #include "typedefs.h"
    
    /**
    	@author Jérémy Quentin <jeremy.quentin@savoirfairelinux.com>
    */
    class LIB_EXPORT InstanceInterfaceSingleton
    {
    
    private:
    
    	static InstanceInterface* interface;
    
    public:
    
    	static InstanceInterface& getInstance();
    
    };
    
    #endif