X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=Addressbook%2Fsrc%2Forg%2Fmxchange%2Faddressbook%2FFrameworkInterface.java;h=fc44b3fcf11433edced8c75f21fa7acc9cf6668d;hb=8b901b209e8b4d330d8bc9ae2a78c121d1110c2e;hp=2158bdbbd6d19f22f1e6b04fd423702d3c498e6e;hpb=ac52e6515a6d8e23aea65a40b1ac0d1d481d6dfe;p=addressbook-swing.git diff --git a/Addressbook/src/org/mxchange/addressbook/FrameworkInterface.java b/Addressbook/src/org/mxchange/addressbook/FrameworkInterface.java index 2158bdb..fc44b3f 100644 --- a/Addressbook/src/org/mxchange/addressbook/FrameworkInterface.java +++ b/Addressbook/src/org/mxchange/addressbook/FrameworkInterface.java @@ -1,48 +1,58 @@ -/* - * Copyright (C) 2015 Roland Haeder - * - * 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, see . - */ -package org.mxchange.addressbook; - -import org.mxchange.addressbook.application.Application; -import org.mxchange.addressbook.client.Client; -import org.mxchange.addressbook.manager.contact.ManageableContact; - -/** - * - * @author Roland Haeder - */ -public interface FrameworkInterface { - - /** - * Getter for contact manager - * @return Contact manager instance - */ - public ManageableContact getContactManager(); - - /** - * Client instance - * - * @return the client - */ - public Client getClient (); - - /** - * Application instance - * - * @return the application - */ - public Application getApplication (); -} +/* + * Copyright (C) 2015 Roland Haeder + * + * 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, see . + */ +package org.mxchange.addressbook; + +import org.mxchange.addressbook.application.Application; +import org.mxchange.addressbook.client.Client; +import org.mxchange.addressbook.manager.contact.ManageableContact; + +/** + * A general interface which should be always expanded + * + * @author Roland Haeder + */ +public interface FrameworkInterface { + + /** + * Getter for contact manager + * + * @return Contact manager instance + */ + public ManageableContact getContactManager (); + + /** + * Client instance + * + * @return the client + */ + public Client getClient (); + + /** + * Application instance + * + * @return the application + */ + public Application getApplication (); + + /** + * Getter for human-readable string from given key + * + * @param key Key to return + * @return Human-readable message + */ + public String getMessageStringFromKey (final String key); +}