/
Pushover.xojo_code
58 lines (50 loc) · 1.23 KB
/
Pushover.xojo_code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#tag Module
Protected Module Pushover
#tag Note, Name = Setup
1. Create account at www.pushover.net
2. Make a note of your user key
3. Grab the Pushover Xojo library
4. Add it to an app that you want to be able to send notifications
5. Register the app within your pushover account
#tag EndNote
#tag Constant, Name = kAppToken, Type = Text, Dynamic = False, Default = \"<YourAppKeyHere>", Scope = Private
#tag EndConstant
#tag Constant, Name = kUserKey, Type = Text, Dynamic = False, Default = \"<YourUserKeyHere>", Scope = Private
#tag EndConstant
#tag ViewBehavior
#tag ViewProperty
Name="Index"
Visible=true
Group="ID"
InitialValue="-2147483648"
Type="Integer"
#tag EndViewProperty
#tag ViewProperty
Name="Left"
Visible=true
Group="Position"
InitialValue="0"
Type="Integer"
#tag EndViewProperty
#tag ViewProperty
Name="Name"
Visible=true
Group="ID"
Type="String"
#tag EndViewProperty
#tag ViewProperty
Name="Super"
Visible=true
Group="ID"
Type="String"
#tag EndViewProperty
#tag ViewProperty
Name="Top"
Visible=true
Group="Position"
InitialValue="0"
Type="Integer"
#tag EndViewProperty
#tag EndViewBehavior
End Module
#tag EndModule