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:
parent
1974b4b7df
commit
911290f701
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
@ -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();
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user