5b2f5f7880e4c6d136e6e027e2fef84e446ec618
Stefan Schuermans start of implementation (ha...

Stefan Schuermans authored 13 years ago

1) /* JFlexiPix - Java implementation of FlexiPix output library
2)  *
Stefan Schuermans change email address in fil...

Stefan Schuermans authored 13 years ago

3)  * Copyright 2010-2011 Stefan Schuermans <stefan schuermans info>
Stefan Schuermans start of implementation (ha...

Stefan Schuermans authored 13 years ago

4)  *
5)  * This program is free software: you can redistribute it and/or modify
6)  * it under the terms of the GNU General Public License as published by
7)  * the Free Software Foundation, version 3 of the License.
8)  *
9)  *
10)  * This program is distributed in the hope that it will be useful,
11)  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12)  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13)  * GNU General Public License for more details.
14)  *
15)  * You should have received a copy of the GNU Lesser General Public License
16)  * along with this program. If not, see <http://www.gnu.org/licenses/>.
17)  */
18) 
19) package org.blinkenarea.JFlexiPix.examples;
20) 
21) import org.blinkenarea.JFlexiPix.*;
22) 
23) public class Msg implements MessageIf
24) {
25)   /// constructor
26)   public Msg()
27)   {
28)   }
29) 
30)   /**
31)    * @brief message callback
32)    * @param[in] type message type
33)    * @param[in] txt message text
34)    */
35)   public void message(MsgType type, String txt)
36)   {
Stefan Schuermans get rid of generated nested...

Stefan Schuermans authored 13 years ago

37)     if (type == MsgType.Err)  System.out.print("error: ");
38)     if (type == MsgType.Warn) System.out.print("warning: ");
39)     if (type == MsgType.Info) System.out.print("info: ");