1*23abd45aSNicolas Bonnefon /* 2*23abd45aSNicolas Bonnefon * Copyright (C) 2014 Nicolas Bonnefon 3*23abd45aSNicolas Bonnefon * and other contributors 4*23abd45aSNicolas Bonnefon * 5*23abd45aSNicolas Bonnefon * This file is part of glogg. 6*23abd45aSNicolas Bonnefon * 7*23abd45aSNicolas Bonnefon * glogg is free software: you can redistribute it and/or modify 8*23abd45aSNicolas Bonnefon * it under the terms of the GNU General Public License as published by 9*23abd45aSNicolas Bonnefon * the Free Software Foundation, either version 3 of the License, or 10*23abd45aSNicolas Bonnefon * (at your option) any later version. 11*23abd45aSNicolas Bonnefon * 12*23abd45aSNicolas Bonnefon * glogg is distributed in the hope that it will be useful, 13*23abd45aSNicolas Bonnefon * but WITHOUT ANY WARRANTY; without even the implied warranty of 14*23abd45aSNicolas Bonnefon * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15*23abd45aSNicolas Bonnefon * GNU General Public License for more details. 16*23abd45aSNicolas Bonnefon * 17*23abd45aSNicolas Bonnefon * You should have received a copy of the GNU General Public License 18*23abd45aSNicolas Bonnefon * along with glogg. If not, see <http://www.gnu.org/licenses/>. 19*23abd45aSNicolas Bonnefon */ 20*23abd45aSNicolas Bonnefon 21*23abd45aSNicolas Bonnefon #ifndef EXTERNALCOM_H 22*23abd45aSNicolas Bonnefon #define EXTERNALCOM_H 23*23abd45aSNicolas Bonnefon 24*23abd45aSNicolas Bonnefon class ExternalInstance { 25*23abd45aSNicolas Bonnefon public: 26*23abd45aSNicolas Bonnefon ExternalInstance(); 27*23abd45aSNicolas Bonnefon 28*23abd45aSNicolas Bonnefon virtual void loadFile( std::string file_name ) = 0; 29*23abd45aSNicolas Bonnefon }; 30*23abd45aSNicolas Bonnefon 31*23abd45aSNicolas Bonnefon class ExternalCommunicator { 32*23abd45aSNicolas Bonnefon public: 33*23abd45aSNicolas Bonnefon ExternalCommunicator(); 34*23abd45aSNicolas Bonnefon 35*23abd45aSNicolas Bonnefon virtual ExternalInstance* otherInstance() = 0; 36*23abd45aSNicolas Bonnefon 37*23abd45aSNicolas Bonnefon signal: 38*23abd45aSNicolas Bonnefon void loadFile( std::string file_name ); 39*23abd45aSNicolas Bonnefon }; 40*23abd45aSNicolas Bonnefon 41*23abd45aSNicolas Bonnefon #endif 42