Difference between revisions of "User:Natenom/Notes"

From Mumble Wiki
Jump to: navigation, search
(Created page with '== Soundpack related ... == === Create Notification Class Table === === Table Body === <pre>{|border="0" cellpadding="2" cellspacing="1" style="background:#e2e2e2;" class="sorta…')
 
(Blanked the page)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Soundpack related ... ==
 
  
=== Create Notification Class Table ===
 
=== Table Body ===
 
<pre>{|border="0" cellpadding="2" cellspacing="1" style="background:#e2e2e2;" class="sortable"
 
!Notification Class
 
 
|}
 
</pre>
 
 
=== Table Content ===
 
<code>for i in $(grep 'Log::' src/mumble/Settings.cpp | grep -i qm | sed -n -r -e 's#.*Log\:\:(.*)\].*#\1#p' | sort | uniq); do echo -n -e '|-bgcolor="#f8f8ff"\n|'"${i}"'\n|\n'; done</code>
 
 
=== Create message strings table ===
 
==== Table Body ====
 
Table body is <pre>{|border="0" cellpadding="2" cellspacing="1" style="background:#e2e2e2;" class="sortable"
 
!String
 
!Notification Class
 
 
 
|}
 
</pre>
 
 
==== Table Content ====
 
Generate table contents with
 
<code>grep 'Log::' src/mumble/Messages.cpp |  sed -nr -e 's#.*Log\:\:([a-zA-Z0-9]*).*tr\("(.*)"\).*#|-bgcolor=\"\#f8f8ff\"\n|\2\n|\1#p'</code>
 

Latest revision as of 06:47, 4 December 2013