liuqun / njit8021xclient

南京工程学院802.1X客户端(Linux版兼容H3C/iNode V2.40-F0335)
http://wiki.ubuntu.org.cn/南京工程学院802.1X客户端
158 stars 107 forks source link

Questions About src-gui #4

Open mahiuchun opened 12 years ago

mahiuchun commented 12 years ago

I spot checked src-gui and two questions occurred to me.

  1. gtkgui seems to be a "Hello World" program. Can you document this fact?
  2. qt4gui hard coded eth0 and eth1. I don't think this is a good approach. I guess getting interfaces information from NM is better.
liuqun commented 12 years ago

The njit-client version 1.1 was created for OpenWRT embedded devices(routers), which do not support ether GTK or QT GUI. So the src-gui is not included in the release tarball njit8021xclient-1.1.tar.gz,

  1. src-gui/gtkgui was added just for a simple GTK test.
  2. src-gui/qt4gui was originally created by Wang Diwen from NJIT(南京工程学院), but I failed to merge the GUI source code with njit8021xclient CLI source code. I have changed some of the original qt4gui code for test purpose.

Both of the above was introduced just for personal interest, and I hope those could be helpful for developers who want to build their own GUI applications.