aboutsummaryrefslogtreecommitdiffstats
path: root/templates/other/BroadcastReceiver/template.xml
diff options
context:
space:
mode:
Diffstat (limited to 'templates/other/BroadcastReceiver/template.xml')
-rw-r--r--templates/other/BroadcastReceiver/template.xml32
1 files changed, 32 insertions, 0 deletions
diff --git a/templates/other/BroadcastReceiver/template.xml b/templates/other/BroadcastReceiver/template.xml
new file mode 100644
index 0000000..09869ff
--- /dev/null
+++ b/templates/other/BroadcastReceiver/template.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0"?>
+<template
+ format="1"
+ revision="1"
+ name="New Broadcast Receiver"
+ description="Creates a new broadcast receiver class">
+
+ <parameter
+ id="className"
+ name="Class Name"
+ type="string"
+ constraints="class|unique"
+ default="MyReceiver" />
+
+ <parameter
+ id="isExported"
+ name="Exported"
+ type="boolean"
+ default="true"
+ help="Whether or not the broadcast receiver can receive messages from sources outside its application" />
+
+ <parameter
+ id="isEnabled"
+ name="Enabled"
+ type="boolean"
+ default="true"
+ help="Whether or not the broadcast receiver can be instantiated by the system" />
+
+ <globals file="globals.xml.ftl" />
+ <execute file="recipe.xml.ftl" />
+
+</template>