copyright update

fix for blank time in screen_blanker


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14117 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval
2005-09-05 12:54:15 +00:00
parent 1974b4b7df
commit 911290f701
9 changed files with 48 additions and 19 deletions
@@ -1,8 +1,11 @@
/* /*
* Copyright 2003, Michael Phipps. All rights reserved. * Copyright 2003-2005, Haiku.
* Distributed under the terms of the MIT License. * Distributed under the terms of the MIT License.
*
* Authors:
* Michael Phipps
* Jérôme Duval, [email protected]
*/ */
#include <NodeMonitor.h> #include <NodeMonitor.h>
#include <OS.h> #include <OS.h>
#include <Roster.h> #include <Roster.h>
@@ -1,6 +1,10 @@
/* /*
* Copyright 2003, Michael Phipps. All rights reserved. * Copyright 2003-2005, Haiku.
* Distributed under the terms of the MIT License. * Distributed under the terms of the MIT License.
*
* Authors:
* Michael Phipps
* Jérôme Duval, [email protected]
*/ */
#include <InputServerFilter.h> #include <InputServerFilter.h>
+5 -2
View File
@@ -1,8 +1,11 @@
/* /*
* Copyright 2003, Michael Phipps. All rights reserved. * Copyright 2003-2005, Haiku.
* Distributed under the terms of the MIT License. * Distributed under the terms of the MIT License.
*
* Authors:
* Michael Phipps
* Jérôme Duval, [email protected]
*/ */
#include <Application.h> #include <Application.h>
#include <Screen.h> #include <Screen.h>
#include <StringView.h> #include <StringView.h>
+6 -1
View File
@@ -1,7 +1,12 @@
/* /*
* Copyright 2003, Michael Phipps. All rights reserved. * Copyright 2003-2005, Haiku.
* Distributed under the terms of the MIT License. * Distributed under the terms of the MIT License.
*
* Authors:
* Michael Phipps
* Jérôme Duval, [email protected]
*/ */
#ifndef PASSWORDWINDOW_H #ifndef PASSWORDWINDOW_H
#define PASSWORDWINDOW_H #define PASSWORDWINDOW_H
+5 -2
View File
@@ -1,8 +1,11 @@
/* /*
* Copyright 2003, Michael Phipps. All rights reserved. * Copyright 2003-2005, Haiku.
* Distributed under the terms of the MIT License. * Distributed under the terms of the MIT License.
*
* Authors:
* Michael Phipps
* Jérôme Duval, [email protected]
*/ */
#include "SSAwindow.h" #include "SSAwindow.h"
#include <View.h> #include <View.h>
+6 -3
View File
@@ -1,8 +1,11 @@
/* /*
* Copyright 2003, Michael Phipps. All rights reserved. * Copyright 2003-2005, Haiku.
* Distributed under the terms of the MIT License. * Distributed under the terms of the MIT License.
*
* Authors:
* Michael Phipps
* Jérôme Duval, [email protected]
*/ */
#include <Debug.h> #include <Debug.h>
#include <stdio.h> #include <stdio.h>
#include <Screen.h> #include <Screen.h>
@@ -127,7 +130,7 @@ ScreenSaverApp::MessageReceived(BMessage *message)
bool bool
ScreenSaverApp::QuitRequested() ScreenSaverApp::QuitRequested()
{ {
if (fPref.LockEnable() && (system_time()-fBlankTime > fPref.PasswordTime())) { if (fPref.LockEnable() && (system_time()-fBlankTime > (fPref.PasswordTime()-fPref.BlankTime()))) {
ShowPW(); ShowPW();
return false; return false;
} else } else
+6 -2
View File
@@ -1,6 +1,10 @@
/* /*
* Copyright 2003, Michael Phipps. All rights reserved. * Copyright 2003-2005, Haiku.
* Distributed under the terms of the MIT License. * Distributed under the terms of the MIT License.
*
* Authors:
* Michael Phipps
* Jérôme Duval, [email protected]
*/ */
#ifndef SCREEN_SAVER_APP_H #ifndef SCREEN_SAVER_APP_H
@@ -30,7 +34,7 @@ private:
PasswordWindow *fPww; PasswordWindow *fPww;
thread_id fThreadID; thread_id fThreadID;
uint32 fBlankTime; bigtime_t fBlankTime;
BMessageRunner *fRunner; BMessageRunner *fRunner;
void Shutdown(); void Shutdown();
+5 -3
View File
@@ -1,9 +1,11 @@
/* /*
* Copyright 2003, Michael Phipps. All rights reserved. * Copyright 2003-2005, Haiku.
* Copyright 2005, Jérôme Duval. All rights reserved.
* Distributed under the terms of the MIT License. * Distributed under the terms of the MIT License.
*
* Authors:
* Michael Phipps
* Jérôme Duval, [email protected]
*/ */
#include <Debug.h> #include <Debug.h>
#include <File.h> #include <File.h>
#include <FindDirectory.h> #include <FindDirectory.h>
+5 -3
View File
@@ -1,9 +1,11 @@
/* /*
* Copyright 2003, Michael Phipps. All rights reserved. * Copyright 2003-2005, Haiku.
* Copyright 2005, Jérôme Duval. All rights reserved.
* Distributed under the terms of the MIT License. * Distributed under the terms of the MIT License.
*
* Authors:
* Michael Phipps
* Jérôme Duval, jerome.duval@free.fr
*/ */
#include <Screen.h> #include <Screen.h>
#include <ScreenSaver.h> #include <ScreenSaver.h>
#include <FindDirectory.h> #include <FindDirectory.h>