implement update freecount
[andGMXsms.git] / src / de / ub0r / android / websms / connector / common / Constants.java
blob188f44119d54bd4450d5ce47fd64c2aa5482e9fb
1 /*
2 * Copyright (C) 2010 Felix Bechstein
3 *
4 * This file is part of WebSMS.
5 *
6 * This program is free software; you can redistribute it and/or modify it under
7 * the terms of the GNU General Public License as published by the Free Software
8 * Foundation; either version 3 of the License, or (at your option) any later
9 * version.
11 * This program is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
14 * details.
16 * You should have received a copy of the GNU General Public License along with
17 * this program; If not, see <http://www.gnu.org/licenses/>.
19 package de.ub0r.android.websms.connector.common;
22 /**
23 * @author flx
25 public final class Constants {
27 /** No Constructor needed here. */
28 private Constants() {
29 // do nothing
30 return;
33 /** Common Action prefix. */
34 private static final String ACTION_PREFIX = "de.ub0r."
35 + "android.websms.connector.";
37 /**
38 * Action to start a connector's {@link Service}. This should include a
39 * {@link ConnectorCommand}: boostrap.
41 public static final String ACTION_CONNECTOR_RUN_BOOSTRAP = ACTION_PREFIX
42 + "RUN_BOOTSTRAP";
44 /**
45 * Action to start a connector's {@link Service}. This should include a
46 * {@link ConnectorCommand}: update.
48 public static final String ACTION_CONNECTOR_RUN_UPDATE = ACTION_PREFIX
49 + "RUN_UPDATE";
51 /**
52 * Action to start a connector's {@link Service}. This should include a
53 * {@link ConnectorCommand}: send.
55 public static final String ACTION_CONNECTOR_RUN_SEND = ACTION_PREFIX
56 + "RUN_SEND";
58 /** Broadcast Action requesting update of {@link ConnectorSpec}'s status. */
59 public static final String ACTION_CONNECTOR_UPDATE = ACTION_PREFIX
60 + "UPDATE";
62 /**
63 * Broadcast Action sending updated {@link ConnectorSpec} informations back
64 * to WebSMS. This should include a {@link ConnectorSpec}.
66 public static final String ACTION_CONNECTOR_INFO = ACTION_PREFIX + "INFO";