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…')
 
Line 1: Line 1:
 
== Soundpack related ... ==
 
== Soundpack related ... ==
 +
[[Soundpacks]]
  
 
=== Create Notification Class Table ===
 
=== Create Notification Class Table ===

Revision as of 05:57, 3 December 2013

Soundpack related ...

Soundpacks

Create Notification Class Table

Table Body

{|border="0" cellpadding="2" cellspacing="1" style="background:#e2e2e2;" class="sortable"
!Notification Class

|}

Table Content

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

Create message strings table

Table Body

Table body is

{|border="0" cellpadding="2" cellspacing="1" style="background:#e2e2e2;" class="sortable"
!String
!Notification Class


|}

Table Content

Generate table contents with grep 'Log::' src/mumble/Messages.cpp | sed -nr -e 's#.*Log\:\:([a-zA-Z0-9]*).*tr\("(.*)"\).*#|-bgcolor=\"\#f8f8ff\"\n|\2\n|\1#p'