major restructuring, moving dialog, message, menu, option menu, task, type IDs into Id in a similar structure as the generated R, also introducing a BaseActivity class that almost all activities derive from, which generates some common dialogs, handles the progress update, thread management, and thread communication
also adding first draft of encrypt file activity, not very functional yet
2010-04-18 22:12:13 -04:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2010 Thialfihar <thi@thialfihar.org>
|
|
|
|
*
|
|
|
|
* 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 org.thialfihar.android.apg;
|
|
|
|
|
|
|
|
public final class Id {
|
|
|
|
public static final class menu {
|
|
|
|
public static final int export = 0x21070001;
|
|
|
|
public static final int delete = 0x21070002;
|
|
|
|
public static final int edit = 0x21070003;
|
|
|
|
|
|
|
|
public static final class option {
|
|
|
|
public static final int new_pass_phrase = 0x21070001;
|
|
|
|
public static final int create = 0x21070002;
|
|
|
|
public static final int about = 0x21070003;
|
|
|
|
public static final int manage_public_keys = 0x21070004;
|
|
|
|
public static final int manage_secret_keys = 0x21070005;
|
|
|
|
public static final int import_keys = 0x21070006;
|
|
|
|
public static final int export_keys = 0x21070007;
|
2010-04-28 19:35:11 -04:00
|
|
|
public static final int preferences = 0x21070008;
|
major restructuring, moving dialog, message, menu, option menu, task, type IDs into Id in a similar structure as the generated R, also introducing a BaseActivity class that almost all activities derive from, which generates some common dialogs, handles the progress update, thread management, and thread communication
also adding first draft of encrypt file activity, not very functional yet
2010-04-18 22:12:13 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
public static final class message {
|
|
|
|
public static final int progress_update = 0x21070001;
|
|
|
|
public static final int done = 0x21070002;
|
|
|
|
public static final int import_keys = 0x21070003;
|
|
|
|
public static final int export_keys = 0x21070004;
|
|
|
|
public static final int import_done = 0x21070005;
|
|
|
|
public static final int export_done = 0x21070006;
|
|
|
|
public static final int create_key = 0x21070007;
|
|
|
|
public static final int edit_key = 0x21070008;
|
|
|
|
}
|
|
|
|
|
|
|
|
public static final class request {
|
|
|
|
public static final int public_keys = 0x21070001;
|
|
|
|
public static final int secret_keys = 0x21070002;
|
|
|
|
public static final int filename = 0x21070003;
|
2010-04-19 09:56:43 -04:00
|
|
|
public static final int output_filename = 0x21070004;
|
major restructuring, moving dialog, message, menu, option menu, task, type IDs into Id in a similar structure as the generated R, also introducing a BaseActivity class that almost all activities derive from, which generates some common dialogs, handles the progress update, thread management, and thread communication
also adding first draft of encrypt file activity, not very functional yet
2010-04-18 22:12:13 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
public static final class dialog {
|
|
|
|
public static final int pass_phrase = 0x21070001;
|
|
|
|
public static final int encrypting = 0x21070002;
|
|
|
|
public static final int decrypting = 0x21070003;
|
|
|
|
public static final int new_pass_phrase = 0x21070004;
|
|
|
|
public static final int pass_phrases_do_not_match = 0x21070005;
|
|
|
|
public static final int no_pass_phrase = 0x21070006;
|
|
|
|
public static final int saving = 0x21070007;
|
|
|
|
public static final int delete_key = 0x21070008;
|
|
|
|
public static final int import_keys = 0x21070009;
|
|
|
|
public static final int importing = 0x2107000a;
|
|
|
|
public static final int export_key = 0x2107000b;
|
|
|
|
public static final int export_keys = 0x2107000c;
|
|
|
|
public static final int exporting = 0x2107000d;
|
|
|
|
public static final int new_account = 0x2107000e;
|
|
|
|
public static final int about = 0x2107000f;
|
|
|
|
public static final int change_log = 0x21070010;
|
2010-04-19 09:56:43 -04:00
|
|
|
public static final int output_filename = 0x21070011;
|
major restructuring, moving dialog, message, menu, option menu, task, type IDs into Id in a similar structure as the generated R, also introducing a BaseActivity class that almost all activities derive from, which generates some common dialogs, handles the progress update, thread management, and thread communication
also adding first draft of encrypt file activity, not very functional yet
2010-04-18 22:12:13 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
public static final class task {
|
|
|
|
public static final int import_keys = 0x21070001;
|
|
|
|
public static final int export_keys = 0x21070002;
|
|
|
|
}
|
|
|
|
|
|
|
|
public static final class type {
|
|
|
|
public static final int public_key = 0x21070001;
|
|
|
|
public static final int secret_key = 0x21070002;
|
|
|
|
}
|
|
|
|
|
2010-04-22 11:30:19 -04:00
|
|
|
public static final class choice {
|
|
|
|
public static final class algorithm {
|
|
|
|
public static final int dsa = 0x21070001;
|
|
|
|
public static final int elgamal = 0x21070002;
|
|
|
|
public static final int rsa = 0x21070003;
|
|
|
|
}
|
|
|
|
|
|
|
|
public static final class usage {
|
|
|
|
public static final int sign_only = 0x21070001;
|
|
|
|
public static final int encrypt_only = 0x21070002;
|
|
|
|
public static final int sign_and_encrypt = 0x21070003;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|