[Freeswitch-svn] [commit] r12560 - freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/Snippets

FreeSWITCH SVN mrene at freeswitch.org
Tue Mar 10 15:07:44 PDT 2009


Author: mrene
Date: Tue Mar 10 17:07:44 2009
New Revision: 12560

Log:
More textmate snippets

Added:
   freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/Snippets/SWITCH_CONFIG_ITEM.tmSnippet
   freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/Snippets/SWITCH_STATUS_FALSE.tmSnippet
   freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/Snippets/SWITCH_STATUS_SUCCESS.tmSnippet
   freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/Snippets/switch_core_session_get_channel.tmSnippet

Added: freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/Snippets/SWITCH_CONFIG_ITEM.tmSnippet
==============================================================================
--- (empty file)
+++ freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/Snippets/SWITCH_CONFIG_ITEM.tmSnippet	Tue Mar 10 17:07:44 2009
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>content</key>
+	<string>SWITCH_CONFIG_ITEM("${1:key}", SWITCH_CONFIG_${2:}, 0, &amp;${3:globals.item}, (void*)$4, ${5:NULL}, "${6:syntax}", "${7:documentation}")</string>
+	<key>name</key>
+	<string>SWITCH_CONFIG_ITEM</string>
+	<key>tabTrigger</key>
+	<string>configitem</string>
+	<key>uuid</key>
+	<string>154CD9B8-6383-41C1-9F6E-A574AC6867D2</string>
+</dict>
+</plist>

Added: freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/Snippets/SWITCH_STATUS_FALSE.tmSnippet
==============================================================================
--- (empty file)
+++ freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/Snippets/SWITCH_STATUS_FALSE.tmSnippet	Tue Mar 10 17:07:44 2009
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>content</key>
+	<string>SWITCH_STATUS_FALSE</string>
+	<key>name</key>
+	<string>SWITCH_STATUS_FALSE</string>
+	<key>tabTrigger</key>
+	<string>ssf</string>
+	<key>uuid</key>
+	<string>19295878-37A1-4234-8035-38DA07E17CAA</string>
+</dict>
+</plist>

Added: freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/Snippets/SWITCH_STATUS_SUCCESS.tmSnippet
==============================================================================
--- (empty file)
+++ freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/Snippets/SWITCH_STATUS_SUCCESS.tmSnippet	Tue Mar 10 17:07:44 2009
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>content</key>
+	<string>SWITCH_STATUS_SUCCESS</string>
+	<key>name</key>
+	<string>SWITCH_STATUS_SUCCESS</string>
+	<key>tabTrigger</key>
+	<string>sss</string>
+	<key>uuid</key>
+	<string>3F544B00-2D0B-4C60-804E-EF63C609E7D8</string>
+</dict>
+</plist>

Added: freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/Snippets/switch_core_session_get_channel.tmSnippet
==============================================================================
--- (empty file)
+++ freeswitch/trunk/scripts/contrib/mrene/textmate/FreeSWITCH.tmbundle/Snippets/switch_core_session_get_channel.tmSnippet	Tue Mar 10 17:07:44 2009
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>content</key>
+	<string>if ((${1:channel} = switch_core_session_get_channel(${2:session})) {
+	$0
+}</string>
+	<key>name</key>
+	<string>switch_core_session_get_channel</string>
+	<key>tabTrigger</key>
+	<string>getchan</string>
+	<key>uuid</key>
+	<string>8107A427-59E7-4FB0-AA1B-28F4A15A2B63</string>
+</dict>
+</plist>



More information about the Freeswitch-svn mailing list