[haiku-commits] r35167 - haiku/trunk/src/add-ons/kernel/file_systems/netfs/authentication_server

  • From: superstippi@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 19 Jan 2010 16:50:33 +0100 (CET)

Author: stippi
Date: 2010-01-19 16:50:33 +0100 (Tue, 19 Jan 2010)
New Revision: 35167
Changeset: http://dev.haiku-os.org/changeset/35167/haiku

Added:
   
haiku/trunk/src/add-ons/kernel/file_systems/netfs/authentication_server/authentication_server.rdef
Modified:
   
haiku/trunk/src/add-ons/kernel/file_systems/netfs/authentication_server/AuthenticationServer.cpp
   
haiku/trunk/src/add-ons/kernel/file_systems/netfs/authentication_server/Jamfile
Log:
 * Renamed jam target to "authentication_server"
 * Updated application signature (I couldn't find a place outside the server's
   code where it is used).
 * Added .rdef with icon and making the app run as background service.


Modified: 
haiku/trunk/src/add-ons/kernel/file_systems/netfs/authentication_server/AuthenticationServer.cpp
===================================================================
--- 
haiku/trunk/src/add-ons/kernel/file_systems/netfs/authentication_server/AuthenticationServer.cpp
    2010-01-19 15:40:24 UTC (rev 35166)
+++ 
haiku/trunk/src/add-ons/kernel/file_systems/netfs/authentication_server/AuthenticationServer.cpp
    2010-01-19 15:50:33 UTC (rev 35167)
@@ -256,12 +256,13 @@
 
 // constructor
 AuthenticationServer::AuthenticationServer()
-       : BApplication("application/x-vnd.bonefish.authentification-server"),
-         fLock(),
-         fRequestPort(-1),
-         fRequestThread(-1),
-         fServerEntries(NULL),
-         fTerminating(false)
+       :
+       BApplication("application/x-vnd.haiku-authentication_server"),
+       fLock(),
+       fRequestPort(-1),
+       fRequestThread(-1),
+       fServerEntries(NULL),
+       fTerminating(false)
 {
 }
 

Modified: 
haiku/trunk/src/add-ons/kernel/file_systems/netfs/authentication_server/Jamfile
===================================================================
--- 
haiku/trunk/src/add-ons/kernel/file_systems/netfs/authentication_server/Jamfile 
    2010-01-19 15:40:24 UTC (rev 35166)
+++ 
haiku/trunk/src/add-ons/kernel/file_systems/netfs/authentication_server/Jamfile 
    2010-01-19 15:50:33 UTC (rev 35167)
@@ -9,9 +9,9 @@
 SEARCH_SOURCE += [ FDirName $(SUBDIR) $(DOTDOT) shared ] ;
 
 DEFINES += USER=1 ;
-DEFINES += DEBUG_APP="\\\"AuthenticationServer\\\"" ;
+DEFINES += DEBUG_APP="\\\"authentication_server\\\"" ;
 
-Application AuthenticationServer
+Application authentication_server
        : DebugSupport.cpp
 
          AuthenticationServerDefs.cpp
@@ -21,4 +21,5 @@
          AuthenticationServer.cpp
          Panel.cpp
        : be $(TARGET_LIBSUPC++) libshared.a
+       : authentication_server.rdef
 ;

Added: 
haiku/trunk/src/add-ons/kernel/file_systems/netfs/authentication_server/authentication_server.rdef
===================================================================
--- 
haiku/trunk/src/add-ons/kernel/file_systems/netfs/authentication_server/authentication_server.rdef
                          (rev 0)
+++ 
haiku/trunk/src/add-ons/kernel/file_systems/netfs/authentication_server/authentication_server.rdef
  2010-01-19 15:50:33 UTC (rev 35167)
@@ -0,0 +1,44 @@
+/*
+ * authentication_server.rdef
+ */
+
+resource app_signature "application/x-vnd.haiku-authentication_server";
+
+resource app_flags B_EXCLUSIVE_LAUNCH|B_BACKGROUND_APP;
+
+resource app_version {
+       major  = 1,
+       middle = 0,
+       minor  = 0,
+
+       variety = B_APPV_ALPHA,
+       internal = 0,
+
+       short_info = "authentication_server",
+       long_info = "authentication_server ©2004-2009 Haiku, Inc"
+};
+
+resource vector_icon array {
+       $"6E636966090500040171020006033C2D75376202B899743D58B748EB184A38E7"
+       $"00FFFBCCFFF3D048C1D1AF270200060339F85134C300B83A393D33B24AE50F4A"
+       $"52A02F9E870700B59E04FFEEC740020006023B80000000000000003D00004A00"
+       $"0048400000FFF8EAFFF5DE63020006023A00000000000000003D00004A000048"
+       $"4000FFFFEE8200C9A51503272401020116023BD5143846FFBA23DF3D99F94A01"
+       $"C048511A99FF647603625A020B0604BE46605060506054605A565C5858544E52"
+       $"0608AEAD2E52395833553F5B465E4E563E4039C277BDDDBDD1BC5136362E3A06"
+       $"066E0B2E52395833553F5B465E44393F3FC05933BE5B2E3A0A04465E4E564E3E"
+       $"46440605FE02383CC30CBE1CC30CBE1CC2123B4039C0E6BD58BF57BCD3BE85BC"
+       $"91BEECBCB0BE85BC913A380609AEEB022E3A393F33BE5B3FC05946444E3EC30C"
+       $"BE1CC45FBE97C30CBE1C383C3A38BE85BC91BE85BC91BD09BC1B3636020B3631"
+       $"362C36313639363936BD39383ABC083ABD173A3A393ABD393A393A303A303A2C"
+       $"42263D26C1B626462BC22228462B4630463046334A304A334A304A2B4A2B4AB5"
+       $"984222C3212238220204443E453E433EBFF9BF5C413EC041BF984440C0C340C1"
+       $"E740C2AEBF62C266BF9A473E0206443CC2393CC0763C403E40BE8340BF1ABFF9"
+       $"BF5CBFD5BF3E413E443E433E453EC2AEBF62473EC2D8BF42483E48BF1C48BE83"
+       $"0607AF3A39463444364539C3E837C38239C3E837513B533D5635C705374C374C"
+       $"354B0606AF0E394636453E483B4E3D4F3B4E3D563B53375139C3E839C3E837C3"
+       $"820A0A010100000A0001011001178402040A020102000A030103000A05010400"
+       $"0A040105000A08020908000A06030A0706000A0001061001178420040A070106"
+       $"00"
+};
+


Other related posts:

  • » [haiku-commits] r35167 - haiku/trunk/src/add-ons/kernel/file_systems/netfs/authentication_server - superstippi