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

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.
*
* Authors:
* Michael Phipps
* Jérôme Duval, jerome.duval@free.fr
*/
#include <NodeMonitor.h>
#include <OS.h>
#include <Roster.h>

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.
*
* Authors:
* Michael Phipps
* Jérôme Duval, jerome.duval@free.fr
*/
#include <InputServerFilter.h>

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.
*
* Authors:
* Michael Phipps
* Jérôme Duval, jerome.duval@free.fr
*/
#include <Application.h>
#include <Screen.h>
#include <StringView.h>

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.
*
* Authors:
* Michael Phipps
* Jérôme Duval, jerome.duval@free.fr
*/
#ifndef PASSWORDWINDOW_H
#define PASSWORDWINDOW_H

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.
*
* Authors:
* Michael Phipps
* Jérôme Duval, jerome.duval@free.fr
*/
#include "SSAwindow.h"
#include <View.h>

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.
*
* Authors:
* Michael Phipps
* Jérôme Duval, jerome.duval@free.fr
*/
#include <Debug.h>
#include <stdio.h>
#include <Screen.h>
@ -127,7 +130,7 @@ ScreenSaverApp::MessageReceived(BMessage *message)
bool
ScreenSaverApp::QuitRequested()
{
if (fPref.LockEnable() && (system_time()-fBlankTime > fPref.PasswordTime())) {
if (fPref.LockEnable() && (system_time()-fBlankTime > (fPref.PasswordTime()-fPref.BlankTime()))) {
ShowPW();
return false;
} else

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.
*
* Authors:
* Michael Phipps
* Jérôme Duval, jerome.duval@free.fr
*/
#ifndef SCREEN_SAVER_APP_H
@ -30,7 +34,7 @@ private:
PasswordWindow *fPww;
thread_id fThreadID;
uint32 fBlankTime;
bigtime_t fBlankTime;
BMessageRunner *fRunner;
void Shutdown();

View File

@ -1,9 +1,11 @@
/*
* Copyright 2003, Michael Phipps. All rights reserved.
* Copyright 2005, Jérôme Duval. All rights reserved.
* Copyright 2003-2005, Haiku.
* Distributed under the terms of the MIT License.
*
* Authors:
* Michael Phipps
* Jérôme Duval, jerome.duval@free.fr
*/
#include <Debug.h>
#include <File.h>
#include <FindDirectory.h>

View File

@ -1,9 +1,11 @@
/*
* Copyright 2003, Michael Phipps. All rights reserved.
* Copyright 2005, Jérôme Duval. All rights reserved.
* Copyright 2003-2005, Haiku.
* Distributed under the terms of the MIT License.
*
* Authors:
* Michael Phipps
* Jérôme Duval, jerome.duval@free.fr
*/
#include <Screen.h>
#include <ScreenSaver.h>
#include <FindDirectory.h>