Enlightenment CVS committal
Author : mekius
Project : e17
Module : proto
Dir : e17/proto/empower/src/bin/ewl
Modified Files:
Empower.h
Log Message:
Added username into program and cleaned up the interface some more
===================================================================
RCS file: /cvs/e/e17/proto/empower/src/bin/ewl/Empower.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- Empower.h 4 Apr 2006 04:26:22 -0000 1.1
+++ Empower.h 5 Apr 2006 16:14:07 -0000 1.2
@@ -4,16 +4,20 @@
#include <unistd.h>
#include <string.h>
#include <stdio.h>
+#include <sys/types.h>
+#include <pwd.h>
#include "Ewl.h"
//#include "../config.h"
-#define WIDTH 250
-#define HEIGHT 100
+#define WIDTH 200
+#define HEIGHT 80
char buf[1024];
Ewl_Widget *win;
char password[1024];
int xpos, ypos;
+uid_t userID; //holds the userID
+struct passwd* userinfo; //holds the user info
/* empower_cb prototypes */
void key_down_cb(Ewl_Widget *w, void *event, void *data);
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs