libfetion / libfetion-gui

Automatically exported from code.google.com/p/libfetion-gui
2 stars 0 forks source link

多用户及帐号已登陆判断 #45

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
建议添加
1,多用户管理功能,
2,该帐号在本机已登陆功能。
后者可以直接使用
http://wiki.qtcentre.org/index.php?title=SingleApplication
提供的代码,前者需要重新设计数据库

Original issue reported on code.google.com by iptton@gmail.com on 21 Apr 2009 at 4:42

GoogleCodeExporter commented 9 years ago
2: 该帐号在本机已登陆功能。

在 
http://code.google.com/p/libfetion-gui/source/browse/trunk/qt4_src/src/fxutil.cp
p
的284行有

 * Author: YongLi(liyong03@gmail.com)
int initshared(const char* path,const char* keyString)

这个函数和SingleApplication起的功能是类似。但是C实现的,你��
�看该函数是否能拿来使用?

Original comment by libfet...@gmail.com on 21 Apr 2009 at 6:21

GoogleCodeExporter commented 9 years ago
用原代码也行,不过直接使用QT的封装会不会更好点呢? :)

Original comment by iptton@gmail.com on 21 Apr 2009 at 6:53

GoogleCodeExporter commented 9 years ago
Issue 8 has been merged into this issue.

Original comment by libfet...@gmail.com on 14 May 2009 at 1:23

GoogleCodeExporter commented 9 years ago
ReOwner to echo:

echo比较熟悉libfetion的数据库操作,这个应该是小菜一碟,对�
��echo来说。

Original comment by libfet...@gmail.com on 26 May 2009 at 2:19

GoogleCodeExporter commented 9 years ago
我看看,不过现在的重点应该是bugfix,1.0alpha好像问题还不少
。代理,字体,都需要改善。

Original comment by echo.xjtu on 26 May 2009 at 3:37

GoogleCodeExporter commented 9 years ago
1.0a 确实还有很多问题需要解决。
我目前正在整理那些问题,然后把它们放到issue上,如果你觉
得哪里需要改进,也可以放上来哦。

Original comment by libfet...@gmail.com on 26 May 2009 at 4:20

GoogleCodeExporter commented 9 years ago
Seems this issue is AlreadyFixed? Dongdong, would you take a look at this

Original comment by alsor.zhou on 25 Aug 2009 at 3:12

GoogleCodeExporter commented 9 years ago
No, It did not record multi-user's info, just single user.
(I am doing this function, but I block at the control of the input fetion id. 
I will finish it later.)

the judge of login-ed have done..

Original comment by libfet...@gmail.com on 25 Aug 2009 at 4:03

GoogleCodeExporter commented 9 years ago
We should redesign this part for multi user login. Actually, it's a popular 
concept
called 'session'. Session means multi user/data, but single logical/process. 
For our
application, I recommend a FxSession class, which would be like,
{{{
FxSession{
  token;
  user;
  contacts;
  msg;
  db;
  settings;
}
}}} 
Need more thinking. IMHO, it's not a problem about database access.

Original comment by alsor.zhou on 28 Aug 2009 at 5:21

GoogleCodeExporter commented 9 years ago
Issue 134 has been merged into this issue.

Original comment by libfet...@gmail.com on 9 Oct 2009 at 3:08

GoogleCodeExporter commented 9 years ago
Changing to Enhancement domain.

Original comment by libfet...@gmail.com on 19 Oct 2009 at 4:23