/*
 * Copyright (C) 2012 Antew | antewcode@gmail.com
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.antew.redditinpictures.library.utils;

public class Consts {
    public static final int    POSITION_FRONTPAGE             = 0;

    // Constants for extras
    public static final String EXTRA_AGE                      = "age";
    public static final String EXTRA_CATEGORY                 = "category";
    public static final String EXTRA_ENTRIES                  = "Entries";
    public static final String EXTRA_FILENAME                 = "filenameExtra";
    public static final String EXTRA_IMAGE                    = "image";
    public static final String EXTRA_IMAGE_HASH               = "imageHash";
    public static final String EXTRA_IS_SYSTEM_UI_VISIBLE     = "isSystemUiVisible";
    public static final String EXTRA_NAV_POSITION             = "navPosition";
    public static final String EXTRA_NEWLY_SELECTED_SUBREDDIT = "newSelectedSubreddit";
    public static final String EXTRA_PERMALINK                = "permalink";
    public static final String EXTRA_REDDIT_API               = "redditApi";
    public static final String EXTRA_REDDIT_URL               = "redditUrl";
    public static final String EXTRA_SCORE                    = "score";
    public static final String EXTRA_SELECTED_SUBREDDIT       = "selectedSubreddit";
    public static final String EXTRA_SHOW_NSFW_IMAGES         = "showNsfwImages";
    public static final String EXTRA_SHOW_NSFW_IMAGES_CHANGED = "showNsfwImagesChanged";

    // Constants for dialog tags
    public static final String DIALOG_GET_FILENAME            = "getFilename";
    public static final String DIALOG_LOGIN                   = "login";
    public static final String DIALOG_LOGOUT                  = "logout";

    // Constants for broadcast messages
    public static final String BROADCAST_DOWNLOAD_IMAGE       = "downloadImage";
    public static final String BROADCAST_HTTP_FINISHED        = "http-finished";
    public static final String BROADCAST_SUBREDDIT_SELECTED   = "subreddit-selected";
    public static final String BROADCAST_REMOVE_NSFW_IMAGES   = "removeNsfwImages";
    public static final String BROADCAST_TOGGLE_FULLSCREEN    = "fullscreenToggle";
    public static final String BROADCAST_UPDATE_SCORE         = "update-score";

    public static final int    LOADER_REDDIT                  = 1;
    public static final int    LOADER_POSTS                   = 2;

    public static final int    POSTS_TO_FETCH                 = 50;
}

@@ -996,24 +996,104 @@
  %22Entries%22;%0A
+    public static final String EXTRA_ERROR_MESSAGE            = %22errorMessage%22;%0A
     public s
@@ -1392,24 +1392,104 @@
 UiVisible%22;%0A
+    public static final String EXTRA_MY_SUBREDDITS            = %22mySubreddits%22;%0A
     public s
@@ -1943,24 +1943,99 @@
  = %22score%22;%0A
+    public static final String EXTRA_SUCCESS                  = %22success%22;%0A
     public s
@@ -2277,16 +2277,92 @@
 hanged%22;
+%0A    public static final String EXTRA_USERNAME                 = %22username%22;
 %0A%0A    //
@@ -2728,17 +2728,18 @@
 download
-I
+-i
 mage%22;%0A 
@@ -2782,45 +2782,291 @@
 AST_
-HTTP_FINISHED        = %22http-finished
+ABOUT_SUBREDDIT      = %22about-subreddit%22;%0A    public static final String BROADCAST_HTTP_FINISHED        = %22http-finished%22;%0A    public static final String BROADCAST_LOGIN_COMPLETE       = %22login-complete%22;%0A    public static final String BROADCAST_MY_SUBREDDITS        = %22my-subreddits
 %22;%0A 
@@ -3146,24 +3146,101 @@
 -selected%22;%0A
+    public static final String BROADCAST_SUBSCRIBE            = %22subscribe%22;%0A
     public s
@@ -3298,21 +3298,23 @@
  %22remove
-NsfwI
+-nsfw-i
 mages%22;%0A
@@ -3388,17 +3388,18 @@
 llscreen
-T
+-t
 oggle%22;%0A
@@ -3544,16 +3544,17 @@
      = 1
+0
 ;%0A    pu
@@ -3612,16 +3612,252 @@
      = 2
+0;%0A    public static final int    LOADER_LOGIN                   = 30;%0A%0A    public static final String COMPACT_URL                    = %22/.compact%22;%0A    public static final String REDDIT_BASE_URL                = %22http://www.reddit.com%22
 ;%0A%0A    p

Add new consts.